Файл: Documentation/index.html
Строк: 1130
<?php
<!doctype html>
<!--[if IE 6 ]><html lang="en-us" class="ie6"> <![endif]-->
<!--[if IE 7 ]><html lang="en-us" class="ie7"> <![endif]-->
<!--[if IE 8 ]><html lang="en-us" class="ie8"> <![endif]-->
<!--[if (gt IE 7)|!(IE)]><!-->
<html lang="en-us"><!--<![endif]-->
<head>
<meta charset="utf-8">
<title>Points4Prize - Online browser game</title>
<meta name="description" content="Points4Prize - Online browser game">
<meta name="author" content="Soft Projects">
<meta name="copyright" content="Soft Projects">
<meta name="generator" content="Documenter v2.0 http://rxa.li/documenter">
<meta name="date" content="2015-07-07T00:00:00+02:00">
<link rel="stylesheet" href="assets/css/documenter_style.css" media="all">
<link rel="stylesheet" href="assets/js/google-code-prettify/prettify.css" media="screen">
<script src="assets/js/google-code-prettify/prettify.js"></script>
<script src="assets/js/jquery.js"></script>
<script src="assets/js/jquery.scrollTo.js"></script>
<script src="assets/js/jquery.easing.js"></script>
<script>document.createElement('section');var duration='500',easing='swing';</script>
<script src="assets/js/script.js"></script>
<style>
html{background-color:#222222;color:#FFFFFF;}
::-moz-selection{background:#BBBBBB;color:#222222;}
::selection{background:#BBBBBB;color:#222222;}
#documenter_sidebar #documenter_logo{background-image:url(assets/images/image_2.png);}
a{color:#BBBBBB;}
.btn {
border-radius:3px;
}
.btn-primary {
background-image: -moz-linear-gradient(top, #444444, #111111);
background-image: -ms-linear-gradient(top, #444444, #111111);
background-image: -webkit-gradient(linear, 0 0, 0 444444%, from(#111111), to(#111111));
background-image: -webkit-linear-gradient(top, #444444, #111111);
background-image: -o-linear-gradient(top, #444444, #111111);
background-image: linear-gradient(top, #444444, #111111);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#444444', endColorstr='#111111', GradientType=0);
border-color: #111111 #111111 #bfbfbf;
color:#FFFFFF;
}
.btn-primary:hover,
.btn-primary:active,
.btn-primary.active,
.btn-primary.disabled,
.btn-primary[disabled] {
border-color: #444444 #444444 #bfbfbf;
background-color: #111111;
}
hr{border-top:1px solid #111111;border-bottom:1px solid #333333;}
#documenter_sidebar, #documenter_sidebar ul a{background-color:#111111;color:#FFFFFF;}
#documenter_sidebar ul a{-webkit-text-shadow:1px 1px 0px #222222;-moz-text-shadow:1px 1px 0px #222222;text-shadow:1px 1px 0px #222222;}
#documenter_sidebar ul{border-top:1px solid #000000;}
#documenter_sidebar ul a{border-top:1px solid #222222;border-bottom:1px solid #000000;color:#BBBBBB;}
#documenter_sidebar ul a:hover{background:#BBBBBB;color:#222222;border-top:1px solid #BBBBBB;}
#documenter_sidebar ul a.current{background:#BBBBBB;color:#222222;border-top:1px solid #BBBBBB;}
#documenter_copyright{display:block !important;visibility:visible !important;}
</style>
</head>
<body class="documenter-project-points4prize">
<div id="documenter_sidebar">
<a href="#documenter_cover" id="documenter_logo"></a>
<ul id="documenter_nav">
<li><a class="current" href="#documenter_cover">Start</a></li>
<li><a href="#description" title="Description">Description</a></li>
<li><a href="#features" title="Features">Features</a></li>
<li><a href="#installation" title="Installation">Installation</a></li>
<li><a href="#configure_sms_service" title="Configure SMS Service">Configure SMS Service</a></li>
<li><a href="#requirements" title="Requirements">Requirements</a></li>
<li><a href="#configuration_update" title=" Configuration Update"> Configuration Update</a></li>
<li><a href="#changelog" title="Changelog">Changelog</a></li>
<li><a href="#sources_and_credits" title="Sources and Credits">Sources and Credits</a></li>
<li><a href="#do_you_like_it" title="Do you like it?">Do you like it?</a></li>
</ul>
<div id="documenter_copyright">Copyright Soft Projects 2015<br>
made with the <a href="http://rxa.li/documenter">Documenter v2.0</a>
</div>
</div>
<div id="documenter_content">
<section id="documenter_cover">
<h1>Points4Prize</h1>
<h2>Online browser game</h2>
<div id="documenter_buttons">
<a href="points4prize.softprojects.info" class="btn btn-primary btn-large">DEMO</a>
</div>
<hr>
<ul>
<li>created: 06/15/2015</li>
<li>latest update: 07/07/2015</li>
<li>by: Soft Projects</li>
<li><a href=""></a></li>
<li>email: <a href="mailto:andrei230@abv.bg">andrei230@abv.bg</a></li>
</ul>
<p></p>
</section>
<section id="description">
<div class="page-header"><h3>Description</h3><hr class="notop"></div>
<p>
Points4Prize is a browser based game that is developed with the latest web technologies.<br>
<br>
Points4Prize is multifunctional script and you can create your own web browser game that you are gonna like, because it has many options and settings which to modify and create your desired browser game.<br>
<br>
Also one of the important features of Points4Prize is that you can earn real money through the integrated paid services and advertising in the game – just invest it as purchase and create your own game from which to make money.<br>
<br>
Through the game users collect points when friend sent a link to somebody and he vote. Thus you collect visitors to the site through advertising and additionally you can win.<br>
Another way to profit are SMS services on the site through which users gain extra points. The script is easy to edit and have a good administration panel.<br>
<br>
</p>
</section>
<section id="features">
<div class="page-header"><h3>Features</h3><hr class="notop"></div>
<h1>
<strong>USER PANEL</strong></h1>
<h2>
<strong>HOME</strong></h2>
<ul>
<li>
<strong>Contacts list</strong></li>
<li>
<strong>Slider</strong></li>
<li>
<strong>Statistcs</strong></li>
</ul>
<h2>
<strong>PROFILE</strong></h2>
<ul>
<li>
Link voting</li>
<li>
Information</li>
</ul>
<h2>
<strong>SOCIAL lOGIN</strong></h2>
<h2>
<strong><span>Forgotten password</span></strong></h2>
<h2>
<strong>MESSAGES</strong></h2>
<h2>
<strong>SMS Points</strong></h2>
<ul>
<li>
<span class="short_text" id="result_box" lang="en"><span class="hps">Sample</span> <span class="hps">script</span> <span class="hps">to automatically add</span> <span class="hps">points</span></span></li>
<li>
<span class="short_text" id="result_box" lang="en"><span class="hps">Works with</span> <span class="hps">fortumo</span></span></li>
</ul>
<h2>
<strong>SETTINGS</strong></h2>
<ul>
<li>
Change password</li>
<li>
Change E-mail</li>
<li>
Change Avatar</li>
<li>
Description</li>
</ul>
<h2>
<strong>VOTE FOR USER</strong></h2>
<ul>
<li>
Point</li>
<li>
Register date</li>
<li>
Status</li>
<li>
Send SMS</li>
<li>
Place ranking</li>
<li>
Description</li>
<li>
Profile image</li>
<li>
Еmoticons<span class="short_text" id="result_box" lang="en"><span class="hps"> are active</span> <span class="hps">in the description</span></span></li>
<li>
<span id="result_box" lang="en"><span class="hps">Protecting</span> <span class="hps">voting</span> <span class="hps">more than once</span> <span class="hps">times</span> <span class="hps">from one</span> <span class="hps">IP</span></span></li>
<li>
Countdown <span class="short_text" id="result_box" lang="en"><span class="hps">counter</span></span></li>
</ul>
<h2>
<strong><span class="short_text" lang="en"><span class="hps">ADS</span></span></strong></h2>
<h2>
<strong><span class="short_text" lang="en"><span class="hps">FAQ</span></span></strong></h2>
<ul>
<li>
AJAX</li>
<li>
<span class="short_text" lang="en"><span>It lets you send</span> <span class="hps">a question</span> <span class="hps">in</span> <span class="hps">five minutes</span></span></li>
</ul>
<h2>
<strong>GAME - GIFTS</strong></h2>
<h2>
<strong>PRIZES</strong></h2>
<h3>
View Prize</h3>
<ul>
<li>
Images (3 picture) <span class="short_text" id="result_box" lang="en"><span class="hps">with</span> <span class="hps">slider</span></span></li>
<li>
Description (HTML)</li>
<li>
Points</li>
<li>
<span class="short_text" id="result_box" lang="en"><span class="hps">Quantity</span></span></li>
</ul>
<h3>
Get Prize</h3>
<ul>
<li>
Name</li>
<li>
Surname</li>
<li>
Family</li>
<li>
Phone</li>
<li>
City</li>
<li>
Address (street,,floor,door.)</li>
</ul>
<h2>
<strong><span class="short_text" lang="en"><span class="hps">RANKINGS</span></span></strong></h2>
<h2>
<strong>ONLINE USERS</strong></h2>
<h2>
<strong>WINNERS</strong></h2>
<h2>
<strong>CONTACTS</strong></h2>
<h2>
<strong><span class="st">CHAPACHA</span></strong></h2>
<ul>
<li>
<span class="short_text" id="result_box" lang="en"><span class="hps">3</span> <span class="hps">figures</span></span></li>
</ul>
<h2>
<strong><span class="short_text" lang="en"><span class="hps"><span class="short_text" id="result_box" lang="en"><span class="hps">Е-mail sent<span class="short_text" id="result_box" lang="en"><span class="hps"> when</span><span>:</span></span></span></span></span></span></strong></h2>
<ul>
<li>
<span class="short_text" lang="en"><span class="hps"><span class="short_text" lang="en"><span class="hps"><span class="short_text" lang="en"><span>User Register</span></span></span></span></span></span></li>
<li>
<span class="short_text" lang="en"><span class="hps">User</span> <span class="hps">receives a message</span></span></li>
</ul>
<h1>
<strong>ADMIN PANEL</strong></h1>
<h2>
<strong>LOGIN</strong></h2>
<h2>
<strong>SEARCH USER</strong></h2>
<h2>
<strong>DASHBOARD</strong></h2>
<ul>
<li>
Total users</li>
<li>
Total Prizes</li>
<li>
Online</li>
<li>
Awarded users</li>
<li>
Last added prizes</li>
<li>
Last registered users</li>
</ul>
<h2>
<b>USERS</b></h2>
<ul>
<li>
Avatar</li>
<li>
User</li>
<li>
Points</li>
<li>
Email</li>
<li>
Action</li>
</ul>
<h3>
Edit user</h3>
<ul>
<li>
<strong>Personal information</strong></li>
</ul>
<h3>
Blocked & Unblocked user</h3>
<h2>
<strong>PRIZES</strong></h2>
<h3>
Add Prize</h3>
<ul>
<li>
Prize name</li>
<li>
Description CKEditor (HTML)</li>
<li>
Image 1, 2 & 3</li>
<li>
Points</li>
<li>
<label>Quantity</label></li>
</ul>
<h3>
Edit Prize</h3>
<h3>
Delete Prize</h3>
<h2>
<b>REQUESTED PRIZES</b></h2>
<h3>
Waiting for review</h3>
<ul>
<li>
ID</li>
<li>
User</li>
<li>
Requested prize name</li>
<li>
Requested date</li>
<li>
Action</li>
</ul>
<h3>
View request prize</h3>
<ul>
<li>
Username</li>
<li>
UserID</li>
<li>
Sended SMS</li>
<li>
Requested prize</li>
<li>
Requested date</li>
<li>
Status -<span class="short_text" id="result_box" lang="en"><span class="hps"> change</span></span></li>
</ul>
<p>
<strong>Personal information</strong></p>
<ul>
<li>
First name</li>
<li>
Second name</li>
<li>
Last name</li>
<li>
Phone</li>
<li>
City</li>
<li>
Address</li>
<li>
Requested IP</li>
</ul>
<h3>
All prizes</h3>
<ul>
<li>
ID</li>
<li>
User</li>
<li>
Requested prize name</li>
<li>
Requested date</li>
<li>
Status</li>
<li>
Action</li>
</ul>
<h3>
Check User (Voted IP's for this user)</h3>
<ul>
<li>
User or IP (<span class="short_text" id="result_box" lang="en"><span class="hps">If</span> <span class="hps">not registered</span></span>)</li>
<li>
Added points</li>
<li>
Date</li>
</ul>
<h2>
<b>FAQ</b></h2>
<ul>
<li>
ID</li>
<li>
Question</li>
<li>
User</li>
<li>
Status (<span class="label label-success">Answered</span> or <span class="short_text" id="result_box" lang="en"><span class="hps"><span class="label label-warning">Wait for answering</span></span></span>)</li>
<li>
Action</li>
</ul>
<h3>
Answer FAQ</h3>
<ul>
<li>
Name</li>
<li>
Question</li>
<li>
Answer (<span class="short_text" id="result_box" lang="en"><span class="hps">here</span> <span class="hps">write</span> <span class="hps">the answer</span></span>)</li>
</ul>
<h3>
Delete FAQ</h3>
<h2>
<b>PAGES</b></h2>
<ul>
<li>
ID</li>
<li>
Title</li>
<li>
Action (Edit or Delete page)</li>
</ul>
<h3>
Add page</h3>
<ul>
<li>
Page title</li>
<li>
Content CKEditor (HTML)</li>
<li>
<span id="result_box" lang="en"><span class="hps">Protection for</span> <span class="hps">establishing a second</span> <span class="hps">page</span> <span class="hps">with an existing</span> <span class="hps">name</span></span></li>
</ul>
<h3>
Edit page</h3>
<ul>
<li>
Page title</li>
<li>
Content CKEditor (HTML)</li>
</ul>
<h3>
Delete page</h3>
<h2>
<strong>ADS CODE</strong></h2>
<h2>
<strong>SOCIAL LOGIN SETTINGS</strong></h2>
<p>
</p>
<h2>
<strong>ERROR LOG</strong></h2>
<h2>
<strong>SETTINGS</strong> </h2>
<p>
</p>
<p>
</p>
<p>
</p>
<p>
</p>
<p>
</p>
<p>
</p>
<p>
</p>
<p>
</p>
<p>
</p>
</section>
<section id="installation">
<div class="page-header"><h3>Installation</h3><hr class="notop"></div>
<ol>
<li>
<strong>Create database for the system.</strong></li>
<li>
<strong>Upload files on server via FTP client (Example: FileZilla).</strong></li>
<li>
<strong>Edit auth/config.php and set you database settings<span class="short_text" lang="en"><span class="hps">.</span></span></strong></li>
<li>
<strong>Edit site_settings.php and set you site information.</strong></li>
<li>
<strong>Open your host from browser.</strong></li>
<li>
<strong>Go to yoursite.com/admin</strong></li>
<li>
<strong>Please enter user: admin and pass: admin</strong></li>
<li>
<strong>Go to yoursitecom/admin/admin.php and edit password.</strong></li>
<li>
<strong>Enjoy.</strong></li>
</ol>
<div class="alert alert-info">
In auth/config.php on base_url don't delete<strong> /auth </strong>in the end of line.<strong> Example: http://yousite.com/auth/</strong> <em><strong>/auth/ is required</strong></em></div>
<div style="page-break-after: always;">
<span style="display: none;"> </span></div>
<pre class="prettyprint lang-php linenums">
(
'enabled' => true,
'host' => 'localhost', //HERE YOUR HOST
'username' => '', //HERE YOUR DB USERNAME
'password' => '', //HERE YOUR DB PASS
'dbname' => '', //HERE YOUR DB NAME
'tbl_users' => 'sa_users',
'clmn_user_username' => 'username',
'clmn_user_email' => 'email',
'clmn_user_password' => 'password',
)</pre>
</section>
<section id="configure_sms_service">
<div class="page-header"><h3>Configure SMS Service</h3><hr class="notop"></div>
<ol>
<li>
Connect to the server by FTP client. (Example: FileZilla).</li>
<li>
Open<strong> /inc/sms/example.php</strong> and copy this file.</li>
<li>
Set some name and remember.</li>
<li>
Open on your browser.</li>
<li>
Go to <a href="http://fortumo.com">http://fortumo.com</a>.</li>
<li>
Create new service (<a class="link" href="https://fortumo.com/api">Mobile Payments API</a>).</li>
<li>
In step 2 on Fortumo fill the which URL will your payment requests be forwarded to. (Example: http://site.com/inc/sms/YOUR_REMEMBER_NAME.php)</li>
<li>
<span class="short_text" id="result_box" lang="en"><span class="hps">Create your</span> <span class="hps">SMS</span> <span class="hps">service.</span></span></li>
<li>
<span class="short_text" lang="en"><span class="hps">Return to FTP client and open remembered file.</span></span></li>
<li>
<span class="short_text" lang="en"><span class="hps">Find the line 18</span></span> and set your secret key. (Example: a8bd3870afb5360cf10cseb1f79db97)</li>
<li>
Find the line 32 and set your SMS Keyword. (Example: TXT MYKEY)</li>
<li>
Find the line 57 and set <span class="short_text" id="result_box" lang="en"><span class="hps">SMS</span> <span class="hps">points</span> <span class="hps">which</span> <span class="hps">will give user.</span></span> (Example: 300)</li>
<li>
Save the <span class="short_text" id="result_box" lang="en"><span class="hps">changes.</span></span></li>
<li>
Test the SMS services on Fortumo Test.</li>
</ol>
<div class="alert alert-info">
<span class="short_text" id="result_box" lang="en"><span class="hps">For each</span> new <span class="hps">SMS service</span> <span class="hps">to repeat</span> <span class="hps">these steps.</span></span></div>
</section>
<section id="requirements">
<div class="page-header"><h3>Requirements</h3><hr class="notop"></div>
<hr class="notop">
<ol style="margin: 18px 0px; padding: 0px; border: 0px; outline: 0px; font-weight: normal; font-style: normal; font-size: 12px; font-family: Arial, verdana, arial, sans-serif; vertical-align: baseline; line-height: 1.5em; color: rgb(56, 56, 56); font-variant: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">
<li style="margin: 0px 0px 0px 36px; padding: 0px; border: 0px; outline: 0px; font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit; vertical-align: baseline; list-style: decimal;">
<strong style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-weight: 700; font-style: inherit; font-size: 12px; font-family: inherit; vertical-align: baseline;">PHP 5x or higher</strong></li>
<li style="margin: 0px 0px 0px 36px; padding: 0px; border: 0px; outline: 0px; font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit; vertical-align: baseline; list-style: decimal;">
<strong style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-weight: 700; font-style: inherit; font-size: 12px; font-family: inherit; vertical-align: baseline;">MySQL 5x or higher</strong></li>
</ol>
<div class="alert alert-error" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; padding: 0px; border: 0px none; outline: 0px none; font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit; vertical-align: baseline; list-style: outside none decimal;">
<div class="alert alert-error" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; padding: 0px; border: 0px none; outline: 0px none; font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit; vertical-align: baseline; list-style: outside none decimal;">
<strong><span id="result_box" lang="en"><span class="hps">VERY IMPORTANT!</span><br>
<span>The script must be installed on <span class="short_text" id="result_box" lang="en"><span class="hps">root directory.</span></span></span></span></strong></div>
</div>
<p>
</p>
</section>
<section id="configuration_update">
<div class="page-header"><h3> Configuration Update</h3><hr class="notop"></div>
<section id="configuration_update">
<ol>
<li>
<strong>Open update <span class="short_text" id="result_box" lang="en"><span class="hps">folder.</span></span></strong></li>
<li>
<strong>Open server via FTP client (Example: FileZilla).</strong></li>
<li>
<strong>Upload files from update <span class="short_text" id="result_box" lang="en"><span class="hps">directory</span></span>.</strong></li>
<li>
<strong>Enjoy</strong></li>
</ol>
<div class="alert alert-info">
<span id="result_box" lang="en"><span class="hps">If</span> <span class="hps">there is a problem</span> <span class="hps">uploading</span> <span class="hps">the update</span><span>, please</span> <span class="hps">contact us</span><span>.</span></span></div>
</section>
</section>
<section id="changelog">
<div class="page-header"><h3>Changelog</h3><hr class="notop"></div>
<p>
07/07/2015 - First release</p>
</section>
<section id="sources_and_credits">
<div class="page-header"><h3>Sources and Credits</h3><hr class="notop"></div>
<div class="page-header" style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-weight: normal; font-style: normal; font-size: 12px; font-family: Arial, verdana, arial, sans-serif; vertical-align: baseline; color: rgb(56, 56, 56); font-variant: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
Thanks so much to</div>
<ul>
<li style="margin: 0px; padding: 0px; border: 0px none; outline: 0px none; font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit; vertical-align: baseline; list-style: outside none square;">
<a href="http://fortawesome.github.io"><span style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit; vertical-align: baseline; color: rgb(0, 0, 255); text-decoration: none; cursor: pointer;">Font Awesome</span></a></li>
<li style="margin: 0px; padding: 0px; border: 0px none; outline: 0px none; font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit; vertical-align: baseline; list-style: outside none square;">
<a href="http://getbootstrap.com/">Bootstrap</a></li>
<li style="margin: 0px; padding: 0px; border: 0px none; outline: 0px none; font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit; vertical-align: baseline; list-style: outside none square;">
<a href="http://fancybox.net/">FancyBox</a></li>
<li style="margin: 0px; padding: 0px; border: 0px none; outline: 0px none; font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit; vertical-align: baseline; list-style: outside none square;">
<a href="https://jquery.org/license/">jQuery</a></li>
</ul>
</section>
<section id="do_you_like_it">
<div class="page-header"><h3>Do you like it?</h3><hr class="notop"></div>
<p>
If you are satisfied from our product <strong>please rate it!</strong> <img alt="" src="assets/images/image_1.png" style="width: 20px; height: 22px;"><img alt="" src="assets/images/image_1.png" style="width: 20px; height: 22px;"><img alt="" src="assets/images/image_1.png" style="width: 20px; height: 22px;"><img alt="" src="assets/images/image_1.png" style="width: 20px; height: 22px;"><img alt="" src="assets/images/image_1.png" ></p>
<p>
This will help to <strong>make it better!</strong> :)</p>
<p>
You can <strong>rate it through the download page</strong>:<br>
<code>http://codecanyon.net/user/USERNAME/downloads</code><br>
Just update <code>USERNAME</code> with your CodeCanyon username and <strong>leave your opinion</strong>!</p>
</section>
</div>
</body>
</html>
?>