diff --git a/SocialHelper/control/__pycache__/urls.cpython-37.pyc b/SocialHelper/control/__pycache__/urls.cpython-37.pyc index 6016956..e2abab2 100644 Binary files a/SocialHelper/control/__pycache__/urls.cpython-37.pyc and b/SocialHelper/control/__pycache__/urls.cpython-37.pyc differ diff --git a/SocialHelper/control/__pycache__/views.cpython-37.pyc b/SocialHelper/control/__pycache__/views.cpython-37.pyc index 5999900..5439a55 100644 Binary files a/SocialHelper/control/__pycache__/views.cpython-37.pyc and b/SocialHelper/control/__pycache__/views.cpython-37.pyc differ diff --git a/SocialHelper/control/urls.py b/SocialHelper/control/urls.py index de9d510..9163e3e 100644 --- a/SocialHelper/control/urls.py +++ b/SocialHelper/control/urls.py @@ -23,7 +23,6 @@ urlpatterns = [ path('ExtendVIP/', views.Vipuser_extension, name='Vipuser_extension'), path('UserList', views.UserPage, name='UserPage'), - path('AddVIP/', views.AddVIP, name='AddVIP'), - - + path('AddVIP/', views.AddVIP, name='AddVIP') + ] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) diff --git a/SocialHelper/control/views.py b/SocialHelper/control/views.py index 2ca4cc8..72889da 100644 --- a/SocialHelper/control/views.py +++ b/SocialHelper/control/views.py @@ -38,7 +38,7 @@ def pulpit(request): } return HttpResponse(template.render(context, request)) else: - return redirect(index) + return HttpResponseRedirect("http://127.0.0.1:8000/homepage/") def NotificationuserPage(request): if request.user.is_authenticated and request.user.is_superuser == True: @@ -49,7 +49,7 @@ def NotificationuserPage(request): } return HttpResponse(template.render(context, request)) else: - return redirect(index) + return HttpResponseRedirect("http://127.0.0.1:8000/homepage/") def Notificationuser_deletenot(request, not_id): if request.user.is_authenticated and request.user.is_superuser == True: @@ -59,7 +59,7 @@ def Notificationuser_deletenot(request, not_id): messages.success(request, 'Zgłoszenie Zamknięte') return redirect(NotificationuserPage) else: - return redirect(index) + return HttpResponseRedirect("http://127.0.0.1:8000/homepage/") def Notificationuser_deleteuser(request, user_id): if request.user.is_authenticated and request.user.is_superuser == True: @@ -70,7 +70,7 @@ def Notificationuser_deleteuser(request, user_id): messages.success(request, 'Użytkownik Usunięty') return redirect(UserPage) else: - return redirect(index) + return HttpResponseRedirect("http://127.0.0.1:8000/homepage/") def NotificationofferPage(request): if request.user.is_authenticated and request.user.is_superuser == True: @@ -81,7 +81,7 @@ def NotificationofferPage(request): } return HttpResponse(template.render(context, request)) else: - return redirect(index) + return HttpResponseRedirect("http://127.0.0.1:8000/homepage/") def Notificationoffer_deletenot(request, not_id): if request.user.is_authenticated and request.user.is_superuser == True: @@ -91,7 +91,7 @@ def Notificationoffer_deletenot(request, not_id): messages.success(request, 'Zgłoszenie Zamknięte') return redirect(NotificationofferPage) else: - return redirect(index) + return HttpResponseRedirect("http://127.0.0.1:8000/homepage/") def Notificationoffer_deleteoffer(request, offer_id): if request.user.is_authenticated and request.user.is_superuser == True: @@ -101,7 +101,7 @@ def Notificationoffer_deleteoffer(request, offer_id): messages.success(request, 'Ogłoszenie Usunięte') return redirect(NotificationofferPage) else: - return redirect(index) + return HttpResponseRedirect("http://127.0.0.1:8000/homepage/") def UsermessagerPage(request): if request.user.is_authenticated and request.user.is_superuser == True: @@ -112,7 +112,7 @@ def UsermessagerPage(request): } return HttpResponse(template.render(context, request)) else: - return redirect(index) + return HttpResponseRedirect("http://127.0.0.1:8000/homepage/") def Usermessager_deletenot(request, not_id): if request.user.is_authenticated and request.user.is_superuser == True: @@ -122,7 +122,7 @@ def Usermessager_deletenot(request, not_id): messages.success(request, 'Zgłoszenie Zamknięte') return redirect(UsermessagerPage) else: - return redirect(index) + return HttpResponseRedirect("http://127.0.0.1:8000/homepage/") def VipuserPage(request): if request.user.is_authenticated and request.user.is_superuser == True: @@ -135,7 +135,7 @@ def VipuserPage(request): } return HttpResponse(template.render(context, request)) else: - return redirect(index) + return HttpResponseRedirect("http://127.0.0.1:8000/homepage/") def Vipuser_delete(request, vip_id): if request.user.is_authenticated and request.user.is_superuser == True: @@ -148,7 +148,7 @@ def Vipuser_delete(request, vip_id): messages.success(request, 'Usunięto status VIP') return redirect(VipuserPage) else: - return redirect(index) + return HttpResponseRedirect("http://127.0.0.1:8000/homepage/") def Vipuser_extension(request, vip_id): if request.user.is_authenticated and request.user.is_superuser == True: @@ -161,7 +161,7 @@ def Vipuser_extension(request, vip_id): messages.success(request, 'Przedłużono status VIP') return redirect(VipuserPage) else: - return redirect(index) + return HttpResponseRedirect("http://127.0.0.1:8000/homepage/") def UserPage(request): if request.user.is_authenticated and request.user.is_superuser == True: @@ -173,7 +173,7 @@ def UserPage(request): } return HttpResponse(template.render(context, request)) else: - return redirect(index) + return HttpResponseRedirect("http://127.0.0.1:8000/homepage/") def AddVIP(request, user_id): if request.user.is_authenticated and request.user.is_superuser == True: @@ -200,4 +200,4 @@ def AddVIP(request, user_id): messages.success(request, 'Nadano status VIP') return redirect(UserPage) else: - return redirect(index) + return HttpResponseRedirect("http://127.0.0.1:8000/homepage/") diff --git a/SocialHelper/enGB/__pycache__/urls.cpython-37.pyc b/SocialHelper/enGB/__pycache__/urls.cpython-37.pyc index f62dbac..530a3cb 100644 Binary files a/SocialHelper/enGB/__pycache__/urls.cpython-37.pyc and b/SocialHelper/enGB/__pycache__/urls.cpython-37.pyc differ diff --git a/SocialHelper/enGB/__pycache__/views.cpython-37.pyc b/SocialHelper/enGB/__pycache__/views.cpython-37.pyc index 1bde51e..f92e025 100644 Binary files a/SocialHelper/enGB/__pycache__/views.cpython-37.pyc and b/SocialHelper/enGB/__pycache__/views.cpython-37.pyc differ diff --git a/SocialHelper/enGB/templates/enbase.html b/SocialHelper/enGB/templates/base3.html similarity index 98% rename from SocialHelper/enGB/templates/enbase.html rename to SocialHelper/enGB/templates/base3.html index 7c78e23..955d111 100644 --- a/SocialHelper/enGB/templates/enbase.html +++ b/SocialHelper/enGB/templates/base3.html @@ -23,9 +23,10 @@ - {% include 'ennavbar.html' %} + {% include 'navbar3.html' %} {% include 'alerts.html' %} {% block content %} {% endblock %} + {% include 'footer3.html' %} diff --git a/SocialHelper/enGB/templates/base4.html b/SocialHelper/enGB/templates/base4.html new file mode 100644 index 0000000..5df4378 --- /dev/null +++ b/SocialHelper/enGB/templates/base4.html @@ -0,0 +1,55 @@ +{% load static %} + + + + + + + + + SocialHelper + + + + + + + + + + + + + + + + {% include 'navbar4.html' %} + {% include 'alerts.html' %} + {% block content %} {% endblock %} + {% include 'footer4.html' %} + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SocialHelper/enGB/templates/enGB/.DS_Store b/SocialHelper/enGB/templates/enGB/.DS_Store new file mode 100644 index 0000000..f699464 Binary files /dev/null and b/SocialHelper/enGB/templates/enGB/.DS_Store differ diff --git a/SocialHelper/enGB/templates/enGB/about.html b/SocialHelper/enGB/templates/enGB/about.html new file mode 100644 index 0000000..51490d1 --- /dev/null +++ b/SocialHelper/enGB/templates/enGB/about.html @@ -0,0 +1,21 @@ +{% extends isVIP|yesno:"base3.html,base4.html" %} +{% load static %} +{% block content %} + + + + + +
+
+
+

About us

+

We are a young, dynamic team that loves fruity Thursdays!

+

If you also like to eat a fresh apple every Thursday, be sure to go to the contact tab!

+

Maybe we are looking for you?

+
+
+
+ + + {% endblock %} diff --git a/SocialHelper/enGB/templates/enGB/add_comment.html b/SocialHelper/enGB/templates/enGB/add_comment.html index f9137c2..33902fc 100644 --- a/SocialHelper/enGB/templates/enGB/add_comment.html +++ b/SocialHelper/enGB/templates/enGB/add_comment.html @@ -1,4 +1,4 @@ -{% extends 'enbase.html' %} +{% extends isVIP|yesno:"base3.html,base4.html" %} {% load static %} {% block content %} @@ -9,7 +9,7 @@
-

Rate User

+

Rate the User

{{ user_name }}
@@ -31,7 +31,7 @@
- + -Copyright © All rights reserved | This template is made with by Colorlib. Downloaded from Themeslab - - -
-
- - {% endblock %} diff --git a/SocialHelper/enGB/templates/enGB/add_offer.html b/SocialHelper/enGB/templates/enGB/add_offer.html index b5596e0..18109f9 100644 --- a/SocialHelper/enGB/templates/enGB/add_offer.html +++ b/SocialHelper/enGB/templates/enGB/add_offer.html @@ -1,4 +1,4 @@ -{% extends 'enbase.html' %} +{% extends isVIP|yesno:"base3.html,base4.html" %} {% load static %} {% block content %} @@ -11,7 +11,7 @@
-

Add new announcement

+

Add a new ad

@@ -42,10 +42,10 @@
- +
@@ -54,7 +54,7 @@
- + {% for place in place_list %} @@ -98,7 +98,7 @@
- Choose a picture + Photo
@@ -119,91 +119,6 @@ - - - - {% endblock %} diff --git a/SocialHelper/enGB/templates/enGB/chating.html b/SocialHelper/enGB/templates/enGB/chating.html new file mode 100644 index 0000000..92bb6be --- /dev/null +++ b/SocialHelper/enGB/templates/enGB/chating.html @@ -0,0 +1,38 @@ + +{% block content %} + + + + + + + + {% for messages in mess %} + {% if user_get_id == messages.author_id.id %} +

+ {{messages.author_id}}:
+ {{messages.text}} +

+ {% else %} +

+ {{messages.author_id}}:
+ {{messages.text}} +

+ {% endif %} + {% endfor %} +

{{ last_date.pub_date }}

+ + + +{% endblock %} diff --git a/SocialHelper/enGB/templates/enGB/conditions_of_use.html b/SocialHelper/enGB/templates/enGB/conditions_of_use.html deleted file mode 100644 index f0f40b3..0000000 --- a/SocialHelper/enGB/templates/enGB/conditions_of_use.html +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - Conditions of use - - - - - - - -

SocialHelper Conditions of use

- - The website for displaying SocialHelper items and services is managed by the SocialHelper company based at Jana Kowalskiego 99, 12-200 Warsaw, Poland. -

- Before registering on the website, the user is obliged to read these regulations and undertake to comply with them. -

- §1.1 These terms and conditions define the mutual relationship between SocialHelper and Users or Visitors. -
- §1.2 The website allows Users to exchange items and services on the basis of barter or voluntary work. -
- §1.3 The website is not intended for minors. In the case of minors, a parent or guardian must register to use the services and supervise the use of the services by minors. -
- §1.4 When registering on the website, the user is required to provide his e-mail address and password (directly or using a Facebook or Google profile). -

- §2.1 SocialHelper is an internet intermediary service offering users a virtual exchange forum. SocialHelper is not a party to any transaction between users. -
- §2.2 The items on display may not be medical or human products, stimulants, firearms and ammunition, as well as any items whose possession is inconsistent with Polish law. -
- §2.3 The services displayed cannot be of a sexual nature. -
- §2.4 The user must be the owner of the items on display and have the right to exchange them. -
- §2.5 SocialHelper reserves the right to block users who violate the regulations, provide incorrect information, fail to complete the transaction and use chat for matters not related to the transactions carried out. -
- §2.6 Users may activate a premium account subject to a recurring monthly fee of PLN 9.99 charged to their account or debit card. -

- - §3.1 All Visitors and Users are fully responsible for the items and services displayed on the SocialHelper website, including its description, the correctness of other details presented and communication with other users, as well as in general transactions concluded with other users and disputes arising therefrom. -

- §4.1 SocialHelper owns all intellectual property rights in the site, its system (directory, portability, etc.), site design and software used by the site, including trademarks and domain names. -
- - - - diff --git a/SocialHelper/enGB/templates/enGB/contact.html b/SocialHelper/enGB/templates/enGB/contact.html index 7b65a2e..7cef18e 100644 --- a/SocialHelper/enGB/templates/enGB/contact.html +++ b/SocialHelper/enGB/templates/enGB/contact.html @@ -1,4 +1,4 @@ -{% extends 'enbase.html' %} +{% extends isVIP|yesno:"base3.html,base4.html" %} {% load static %} {% block content %} @@ -8,10 +8,9 @@
-
-

Contact with us!

-

Need help? Please contact with us via telephone, e-mail address or use our contact form below

-
+

Contact us

+

Need support? Please contact us by phone, e-mail or use the contact form below

+
@@ -45,109 +44,28 @@
-

Send a message

-
+

Send a message

+ + {% csrf_token %} + {{ form.media }} + {{ form.as_p }} +
- +
- +
- +
- +
- - - - {% endblock %} diff --git a/SocialHelper/enGB/templates/enGB/create_user.html b/SocialHelper/enGB/templates/enGB/create_user.html index 9e4b7b3..ebc3f5f 100644 --- a/SocialHelper/enGB/templates/enGB/create_user.html +++ b/SocialHelper/enGB/templates/enGB/create_user.html @@ -1,4 +1,4 @@ -{% extends 'enbase.html' %} +{% extends isVIP|yesno:"base3.html,base4.html" %} {% load static %} {% block content %} @@ -95,7 +95,7 @@ body {font-family: Arial, Helvetica, sans-serif;}
-

Create an account

+

Create a new account

@@ -132,7 +132,7 @@ body {font-family: Arial, Helvetica, sans-serif;}
- +
@@ -143,49 +143,47 @@ body {font-family: Arial, Helvetica, sans-serif;}
- + -
- - {% endblock %} diff --git a/SocialHelper/enGB/templates/enGB/edycja_ogloszenia.html b/SocialHelper/enGB/templates/enGB/edycja_ogloszenia.html index a3e85c1..3ee3c2f 100644 --- a/SocialHelper/enGB/templates/enGB/edycja_ogloszenia.html +++ b/SocialHelper/enGB/templates/enGB/edycja_ogloszenia.html @@ -1,4 +1,4 @@ -{% extends 'enbase.html' %} +{% extends isVIP|yesno:"base3.html,base4.html" %} {% load static %} {% block content %} @@ -9,7 +9,7 @@
-

Edit Your Offer

+

Edit offer

@@ -28,7 +28,7 @@
- + {% if offer.offer == types_o.0.0 %} - - + + {% else %} - - + + {% endif %}
@@ -62,7 +62,7 @@
- + {% for place in place_list %} @@ -119,7 +119,7 @@
- Choose a picture + Photo
@@ -135,91 +135,6 @@ - - - - {% endblock %} diff --git a/SocialHelper/enGB/templates/enGB/enlogin.html b/SocialHelper/enGB/templates/enGB/enlogin.html deleted file mode 100644 index 17bd9bd..0000000 --- a/SocialHelper/enGB/templates/enGB/enlogin.html +++ /dev/null @@ -1,160 +0,0 @@ -{% extends 'enbase.html' %} -{% load static %} -{% block content %} - - - - - -
-
-
-

Sing in

-
-
-
- - - -
- {% csrf_token %} - {{ form.media }} - {{ form.as_p }} - - -
-
-
- - -
-
-
- - -
-
-
- -
-
-
- - -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
- -
-
-
- - -
-
-
- - - - - - - - - - {% endblock %} diff --git a/SocialHelper/enGB/templates/enGB/index.html b/SocialHelper/enGB/templates/enGB/index.html index 242f6e3..b80ef11 100644 --- a/SocialHelper/enGB/templates/enGB/index.html +++ b/SocialHelper/enGB/templates/enGB/index.html @@ -1,12 +1,25 @@ -{% extends 'enbase.html' %} +{% extends isVIP|yesno:"base3.html,base4.html" %} {% load static %} {% block content %} + +
@@ -14,25 +27,6 @@
-
-
-
-

Sort:

- -
-
-

Show:

- -
-
-
{% if all_product %} @@ -42,48 +36,38 @@ {% else %}
{% endif %} -
-
-
- -
-
-
-
-

{{ product.title }}

-
{{ product.user_iden }}
-
- {% if types.0.0 == product.type %} - Need - {% else %} - Give - {% endif %} - {% if types_o.0.0 == product.offer %} - Service - {% else %} - Items - {% endif %}
+
+
+
+ +
+
-
Location: {{ product.place }}
-
-
-
-
+
+
+

{{ product.title }}

+
{{ product.user_iden }}
+
+ {% if types.0.0 == product.type %} + I will Need + {% else %} + I Give + {% endif %} + {% if types_o.0.0 == product.offer %} + Service + {% else %} + Item + {% endif %}
+ +
Location: {{ product.place }}
+
+
+
+
{% endfor %} {% else %}

No polls are available.

{% endif %} -
@@ -101,22 +85,22 @@
    - {% if wol_local%} + {% if wol_local %} {% else %} @@ -180,96 +164,7 @@
- - - - - - - - {% endblock %} diff --git a/SocialHelper/enGB/templates/enGB/login.html b/SocialHelper/enGB/templates/enGB/login.html new file mode 100644 index 0000000..1e9c85f --- /dev/null +++ b/SocialHelper/enGB/templates/enGB/login.html @@ -0,0 +1,76 @@ +{% extends isVIP|yesno:"base3.html,base4.html" %} +{% load static %} +{% block content %} + + + + + +
+
+
+

Sign In

+
+
+
+ + + +
+ {% csrf_token %} + {{ form.media }} + {{ form.as_p }} + + +
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+
+ + +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+ +
+
+
+ + +
+
+
+ + + + + + + {% endblock %} diff --git a/SocialHelper/enGB/templates/enGB/my_offer.html b/SocialHelper/enGB/templates/enGB/my_offer.html index 59916d3..61e35d9 100644 --- a/SocialHelper/enGB/templates/enGB/my_offer.html +++ b/SocialHelper/enGB/templates/enGB/my_offer.html @@ -1,4 +1,4 @@ -{% extends 'enbase.html' %} +{% extends isVIP|yesno:"base3.html,base4.html" %} {% load static %} {% block content %} @@ -10,10 +10,23 @@
{{ username }} -

My Offer

+

My Offers

+ @@ -40,22 +53,22 @@
-

{{ product.title }}

+

{{ product.title }}

{% if types.0.0 == product.type %} -
Need +
I will Need {% else %} -
Give +
I Give {% endif %} {% if types_o.0.0 == product.offer %} Service
- - + + {% else %} Item - - + + {% endif %} -
Locality: {{ product.place }}
+
City: {{ product.place }}

{{ product.description }}

@@ -67,8 +80,8 @@ {% endif %}
- - + +
@@ -87,91 +100,6 @@ - - - - {% endblock %} diff --git a/SocialHelper/enGB/templates/enGB/offer_note.html b/SocialHelper/enGB/templates/enGB/offer_note.html new file mode 100644 index 0000000..d856d66 --- /dev/null +++ b/SocialHelper/enGB/templates/enGB/offer_note.html @@ -0,0 +1,59 @@ +{% extends isVIP|yesno:"base3.html,base4.html" %} +{% load static %} +{% block content %} + + + + + +
+
+
+

Report Offer:

+
{{ offer.title }}
+
User: {{ offer.user_iden }}
+ +
+
+
+ + + + + {% csrf_token %} + {{ form.media }} + {{ form.as_p }} + + +
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+
+ +
+
+
+ + +
+
+
+ + + + + + {% endblock %} diff --git a/SocialHelper/enGB/templates/enGB/offer_page.html b/SocialHelper/enGB/templates/enGB/offer_page.html new file mode 100644 index 0000000..fcdba41 --- /dev/null +++ b/SocialHelper/enGB/templates/enGB/offer_page.html @@ -0,0 +1,191 @@ +{% extends isVIP|yesno:"base3.html,base4.html" %} +{% load static %} +{% block content %} + + + + + + +
+
+
+

Offer Details

+ {% if offer.Wolontatriat %} +
Volunteer Offer
+ {% endif %} + {% if types.0.0 == offer.type %} + I will Need + {% else %} + I give + {% endif %} + {% if types_o.0.0 == offer.offer %} + Service + {% else %} + Item + {% endif %} +
+
+
+ + + +
+
+
+
+
+
+
    +
  • + + + +
  • + +
+
+
+
+
+
+

{{ offer.title }}



+

Listed by: {{ offer.user_iden }}

+
City: {{ offer.place }}


+

{{ offer.description }}



+ {% if user.is_authenticated %} + {% if user_get_id is not offer.user_iden.id %} + + {% endif %} + {% endif %} + +
+
+
+
+
+ + +{% if user.is_authenticated %} +
+
+ +
+ +

Messages

+
+ {% if user_get_id == offer.user_iden.id %} +
+
+ + {% for user in email_list %} +

+ {% endfor %} +
+
+
+ {% for user in email_list %} +
+ +
+ {% csrf_token %} + + + + + +
+
+ {% endfor %} +
+ {% else %} +
+ +
+ {% csrf_token %} + + + + + +
+
+ {% endif %} +
+ +
+
+ {% endif %} +
+
+ + + + + + + + +{% endblock %} diff --git a/SocialHelper/enGB/templates/enGB/regulamin.html b/SocialHelper/enGB/templates/enGB/regulamin.html index 542f6d6..e9c3287 100644 --- a/SocialHelper/enGB/templates/enGB/regulamin.html +++ b/SocialHelper/enGB/templates/enGB/regulamin.html @@ -1,4 +1,4 @@ -{% extends 'enbase.html' %} +{% extends isVIP|yesno:"base3.html,base4.html" %} {% load static %} {% block content %} @@ -8,129 +8,42 @@
-

SocialHelper Terms of Use

+

Terms Of Use


-
The website for displaying SocialHelper items and services is managed by the SocialHelper company based at Jana Kowalskiego 99, 12-200 Warsaw, Poland. -
-
-
Before registering on the website, the user is obliged to read these regulations and undertake to comply with them. -
-
- §1.1 These terms and conditions define the mutual relationship between SocialHelper and Users or Visitors. -
- §1.2 The website allows Users to exchange items and services on a barter or voluntary basis. -
- §1.3 The website is not intended for minors. In the case of minors, a parent or guardian must register to use the services and supervise the use of the services by minors. -
- §1.4 When registering on the website, the user is required to provide his e-mail address and password (directly or using a Facebook or Google profile). -

+
The website for displaying SocialHelper items and services is managed by the SocialHelper company with its registered office at Jana Kowalskiego 99, 12-200 Warsaw, Poland. +
+
+
Before registering on the website, the user is obliged to read these regulations and undertake to comply with them. +
+
+ §1.1 These terms and conditions define the mutual relationship between SocialHelper and Users or Visitors. +
+ §1.2 The website allows Users to exchange items and services on the basis of barter or voluntary work. +
+ §1.3 The website is not intended for minors. In the case of minors, a parent or guardian must register to use the services and supervise the use of the services by minors. +
+ §1.4 When registering on the website, the user is required to provide his e-mail address and password (directly or using a Facebook or Google profile). +

+ §2.1 SocialHelper is an internet intermediary service offering users a virtual exchange forum. SocialHelper is not a party to any transaction between users. +
+ §2.2 The displayed items may not be medical or human products, stimulants, firearms and ammunition, as well as any items the possession of which is inconsistent with Polish law. +
+ §2.3 The services displayed cannot be of a sexual nature. +
+ §2.4 The user must be the owner of the items on display and have the right to exchange them. +
+ §2.5 SocialHelper reserves the right to block users who violate the regulations, provide incorrect information, fail to complete the transaction and use chat for matters not related to the transactions carried out. +
+ §2.6 Users may activate a premium account subject to a recurring monthly fee of PLN 9.99 charged to their account or debit card. +

- §2.1 SocialHelper is an internet intermediary service offering users a virtual exchange forum. SocialHelper is not a party to any transaction between users. -
- §2.2 The items on display may not be medical or human products, stimulants, firearms and ammunition, as well as any items whose possession is inconsistent with Polish law. -
- §2.3 The services displayed cannot be of a sexual nature. -
- §2.4 The user must be the owner of the items on display and have the right to exchange them. -
- §2.5 SocialHelper reserves the right to block users who violate the regulations, provide incorrect information, fail to complete the transaction and use chat for matters not related to the transactions carried out. -
- §2.6 Users may activate a premium account subject to a recurring monthly fee of PLN 9.99 charged to their account or debit card. -

- - - §3.1 All Visitors and Users are fully responsible for the items and services displayed on the SocialHelper website, including its description, the correctness of other details presented and communication with other users, as well as in general transactions concluded with other users and disputes arising therefrom. -

- §4.1 SocialHelper owns all intellectual property rights to the site, its system (directory, portability, etc.), site design and software used by the site, including trademarks and domain names. -
+ §3.1 All Visitors and Users are fully responsible for the items and services displayed on the SocialHelper website, including its description, the correctness of other details presented and communication with other users, as well as in general transactions concluded with other users and disputes arising therefrom. +

+ §4.1 SocialHelper owns all intellectual property rights to the site, its system (directory, portability, etc.), site design and software used by the site, including trademarks and domain names. +
- - - - {% endblock %} diff --git a/SocialHelper/enGB/templates/enGB/user_note.html b/SocialHelper/enGB/templates/enGB/user_note.html new file mode 100644 index 0000000..7ba223f --- /dev/null +++ b/SocialHelper/enGB/templates/enGB/user_note.html @@ -0,0 +1,58 @@ +{% extends isVIP|yesno:"base3.html,base4.html" %} +{% load static %} +{% block content %} + + + + + +
+
+
+

Report User:

+
{{ User_prof }}
+ +
+
+
+ + + +
+ {% csrf_token %} + {{ form.media }} + {{ form.as_p }} + + +
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+
+ +
+
+
+ + +
+
+
+ + + + + + {% endblock %} diff --git a/SocialHelper/enGB/templates/enGB/user_profile.html b/SocialHelper/enGB/templates/enGB/user_profile.html index bf4e184..65eb591 100644 --- a/SocialHelper/enGB/templates/enGB/user_profile.html +++ b/SocialHelper/enGB/templates/enGB/user_profile.html @@ -1,274 +1,201 @@ -{% extends 'enbase.html' %} +{% extends isVIP|yesno:"base3.html,base4.html" %} {% load static %} {% block content %} + + - + +
+
+
+ {% if not user_prof %} +

Account deleted

+ {% endif %} +

User profile

+
{{ name }}


+

Average grade: {{ocena_2}}

+ 1 + + {% if ocena > 9 %} + + {% else %} + + {% endif %} + {% if ocena > 19 %} + + {% else %} + + {% endif %} + {% if ocena > 29 %} + + {% else %} + + {% endif %} + {% if ocena > 39 %} + + {% else %} + + {% endif %} + {% if ocena > 49 %} + + {% else %} + + {% endif %} + {% if ocena > 59 %} + + {% else %} + + {% endif %} + {% if ocena > 69 %} + + {% else %} + + {% endif %} + {% if ocena > 79 %} + + {% else %} + + {% endif %} + {% if ocena > 89 %} + + {% else %} + + {% endif %} + {% if ocena > 99 %} + + {% else %} + + {% endif %} 10 + {% if user.email %} +

+ {% endif %} +
+
+
-
-
+ - + -
-
- -
-
-
- - -
- {% if all_product %} - {% for product in all_product %} - {% if product.Wolontatriat %} -
- {% else %} -
- {% endif %} -
-
-
- -
-
-
-
-

{{ product.title }}

- {% if types.0.0 == product.type %} -
Need - {% else %} -
Give - {% endif %} - {% if types_o.0.0 == product.offer %} - Service
- {% else %} - Item - {% endif %} -
Locality: {{ product.place }}
-

{{ product.description }}

-
-
-
-
- {% endfor %} - {% else %} -

No polls are available.

- {% endif %} +
+
+ +
+
+
+
+
+
+ {% if all_product %} + {% for product in all_product %} + {% if product.Wolontatriat %} +
+ {% else %} +
+ {% endif %} +
+
+
+
+
+
+
+

{{ product.title }}

+ {% if types.0.0 == product.type %} +
I will need + {% else %} +
I give + {% endif %} + {% if types_o.0.0 == product.offer %} + Service
+ {% else %} + Item + {% endif %} +
City: {{ product.place }}
+

{{ product.description }}

+
+
- -
- {% csrf_token %} - - - - -
-
-
- -
-
-
-
-
-
- {% if all_oceny %} - {% for ocen_jed in all_oceny %} -
-
-
- {{ocen_jed.ocena_jedn}} -
-
-
- {{ocen_jed.comm}} -
-
-
-
- {% endfor %} - {% else %} -

No polls are available.

- {% endif %}
-
-
-
- {% csrf_token %} - - - -
+ {% endfor %} + {% else %} +

No polls are available.

+ {% endif %}
- - -
-
- - - - - - +
+
+
+
+
+
+
+ {% if all_oceny %} + {% for ocen_jed in all_oceny %} +
+
+
+ {{ocen_jed.ocena_jedn}} +
+
+
+ {{ocen_jed.comm}} +
+
+
+
+ {% endfor %} + {% else %} +

No polls are available.

+ {% endif %} +
+
+
+
+ {% csrf_token %} + + + +
+
+
+
+
+ +
+ + - {% endblock %} +{% endblock %} diff --git a/SocialHelper/enGB/templates/footer3.html b/SocialHelper/enGB/templates/footer3.html new file mode 100644 index 0000000..bbab369 --- /dev/null +++ b/SocialHelper/enGB/templates/footer3.html @@ -0,0 +1,69 @@ +{% load static %} + +
+
+ + +
+
+ + diff --git a/SocialHelper/enGB/templates/footer4.html b/SocialHelper/enGB/templates/footer4.html new file mode 100644 index 0000000..cca2c73 --- /dev/null +++ b/SocialHelper/enGB/templates/footer4.html @@ -0,0 +1,70 @@ +{% load static %} + +
+
+ + + +
+
+ + diff --git a/SocialHelper/enGB/templates/navbar3.html b/SocialHelper/enGB/templates/navbar3.html new file mode 100644 index 0000000..22d9218 --- /dev/null +++ b/SocialHelper/enGB/templates/navbar3.html @@ -0,0 +1,48 @@ +{% load static %} + + + + + + + + diff --git a/SocialHelper/enGB/templates/ennavbar.html b/SocialHelper/enGB/templates/navbar4.html similarity index 71% rename from SocialHelper/enGB/templates/ennavbar.html rename to SocialHelper/enGB/templates/navbar4.html index e820520..3df3548 100644 --- a/SocialHelper/enGB/templates/ennavbar.html +++ b/SocialHelper/enGB/templates/navbar4.html @@ -2,7 +2,7 @@ - +