Hello everybody!
About a year ago, I’ve started creating a completely dynamic website just to test my skills and few weeks later I’ve stopped working on it. About a week ago, my high school asked me to do the new website for them and I did. Instead of creating a completely new one, I’ve only edited some simple things on the dynamic one, so the professors could edit it as they needed. This morning, I’ve decided to edit this website and make an SAMP server website that will be completely dynamic and that everyone will be able to use for their services nearly without any knowledge.
What you actually need is: php hosting (you can get a free one at zymic.com) and an mysql host (also supported on zymic).
So, let me preview you the website itself:
This is the preview of the website as it is when you install it.
This is the preview of the login page of the admin panel (website/admin). The default login username is Admin and password admin. Please change that in your phpmyadmin for your own security. You can also make more than one user if you want to.
This is the preview of the Manage pages > add page. In the first box you name the page (that is the name shown in the menu also). In the second one you put the url name (index.php?p=UrlYouSet) that menu will use. In the third one you edit the content. HTML code is available and so is the php if you do . Note that when you create a page it's privacy will be on, and you will need to click on the icon for changing privacy in menage pages so the page will show in the navigation bar :).
Here's an example of the filled page adding form (the edit one looks the same). You can also edit the pages yourself in website/pages/pagename.php if you prefer to do it that way.
So, over here I have added a couple of pages. The pen icon stands for editing, X stands for delete (requires confirmation so you wouldn't delete it by an accident) and the "Available" sign tells you that the page is shown in the menu and available for everyone to see. The stranger icon stands for "this page exists and anyone with a direct link will be able to open it, but it isn't displayed in the menu". The red sign tells you that nobody will be able to view this page and it's not shown in the menu. You can switch between these just by clicking.
And this is the preview of the website after I've added those pages.
Let's get back to the Admin panel for a second... Now let's change the settings...
And this is the preview of the website changing itself after the settings changed.
Inside the settings tab in the admin panel you have all the instructions you could need to turn this website into anything that you could want and make it look however you want in less than 10 minutes.
Installation instructions:
- Unzip the package that you can download bellow and upload the gtasite.sql file to the phpmyadmin.
- Edit the username and the password in admins table.
- Change the config.php file to your mysql settings.
- Upload the website on the internet.
I've also created two possible mysql connections for myself:
a) if the connections isn't coming from localhost, use the config file.
b)if the connection is coming from the localhost, use root with no password. To change this you will need to edit index.php in the root folder, index.php in admin folder and logo.php in images/logogen folder.
Hope you like it and enjoy in it :)
By the way, I have done this completely for free and do not ask for anything in return but for you NOT to upload the copies of this on the internet. No mirrors please and no any kind of uploads (I'm getting paid some small money from the downloads because of the advertisements (about $1 per 1.000 downloads)). Also, about the credits... i can't force you to keep them or anything and I'm not going to even try, but it is professional to leave them as they are (and also very kind of you :)).
Нема коментара:
Постави коментар