<?php
// INCLUDE HEADER IN PAGE
include('other_header.php');
// GET CURRENT DATE AND TIME
$date = date('Y-m-d H:i:s');
if(isset($_POST['success'])) {
	if($_POST['success'] == 'loggedin') {
	?>
	<div style="margin-top: -80px;" class="alert alert-success" role="alert">
		<strong>Well done!</strong> Successfully logged in.
	</div>
	<?php
	}
}
?>
  <div class="container">
    <div class="text-center">
      <h1><?php echo $title; ?>
      	<small>/
      			<?php
						$accounttypenow = $_SESSION['acctype'];
						if($accounttypenow == 0){//Publisher
					?>
							Active is: Publisher Account
					<?php
						}
						if($accounttypenow == 1){//Advertiser
					?>
							Active is: Advertiser Account
					<?php
						}
					?>
			</small>
		</h1>
 	 </div>
 	 </br>
	
	<div class="col-sm-8 col-md-offset-2">
		<div class="text-center">
      	<h1><small>Your API key</small></h1>
 		</div>
 			<input style="cursor:copy; opacity: 1;text-align: center;" class="form-control autosize" rows="1" value="<?php echo $seeP['api']; ?>" onmouseover="this.select()" readonly="">
	</div>
	<div class="col-sm-12">
		<div class="text-center">
      	<h1><small>Documentation</small></h1>
 		</div>
 		<h1>How start?</h1>
 			<p>To create command through API send request to 'General URL address' with GET command,api,data[1-7]</p>
 			<p>General URL address:</p>
 			<input style="cursor:copy; opacity: 1;text-align: center;" class="form-control autosize" rows="1" value="<?php echo $mainurl; ?>get/api.php?command=[]&api=[]&data1=[]&data2=[]&data3=[]&data4=[]&data5=[]&data6=[]&data7=[]" onmouseover="this.select()" readonly="">
 			<p>Scheme:</p>
 			<div class="well">
 				<p>Value [command] = All available command names you will found down</p>
 				<p>Value [apikey] = Your API key</p>
 				<p>Value [data1] = Data value number 1 of assigned command</p>
 				<p>Value [data2] = Data value number 2 of assigned command</p>
 				<p>Value [data3] = Data value number 3 of assigned command</p>
 				<p>Value [data4] = Data value number 4 of assigned command</p>
 				<p>Value [data5] = Data value number 5 of assigned command</p>
 				<p>Value [data6] = Data value number 6 of assigned command</p>
 				<p>Value [data7] = Data value number 7 of assigned command</p>
 			</div>
 			<input style="cursor:copy; opacity: 1;text-align: center;" class="form-control autosize" rows="1" value="<?php echo $mainurl; ?>get/api.php?command=[]&api=[]&data1=[]&data2=[]&data3=[]&data4=[]&data5=[]&data6=[]&data7=[]" onmouseover="this.select()" readonly="">
 			<p>If you want send data without value use 'null'. Example send request command to create link without password</p>
 			<div class="well">
 				<p>Value [command] = createlink</p>
 				<p>Value [apikey] = <?php echo $seeP['api']; ?></p>
 				<p>Value [data1] = http://google.com</p>
 				<p>Value [data2] = <b>null</b></p>
 				<p>Value [data3] = interstitial</p>
 				<p>Value [data4] = TitleGoogle</p>
 				<p>Value [data5] = <b>null</b></p>
 				<p>Value [data6] = <b>null</b></p>
 				<p>Value [data7] = <b>null</b></p>
      	</div>
 			<input style="cursor:copy; opacity: 1;text-align: center;" class="form-control autosize" rows="1" value="<?php echo $mainurl; ?>get/api.php?command=createlink&api=<?php echo $seeP['api']; ?>&data1=http://google.com&data2=null&data3=interstitial&data4=TitleGoogle&data5=null&data6=null&data7=null" onmouseover="this.select()" readonly="">
 			<p>Example:</p>
 			<div class="well">
 				<p>Value [command] = createlink</p>
 				<p>Value [apikey] = <?php echo $seeP['api']; ?></p>
 				<p>Value [data1] = http://google.com</p>
 				<p>Value [data2] = pass123</p>
 				<p>Value [data3] = interstitial</p>
 				<p>Value [data4] = TitleGoogle</p>
 				<p>Value [data5] = <b>null</b></p>
 				<p>Value [data6] = <b>null</b></p>
 				<p>Value [data7] = <b>null</b></p>
 			</div>
 			<input style="cursor:copy; opacity: 1;text-align: center;" class="form-control autosize" rows="1" value="<?php echo $mainurl; ?>get/api.php?command=createlink&api=<?php echo $seeP['api']; ?>&data1=http://google.com&data2=pass123&data3=interstitial&data4=TitleGoogle&data5=null&data6=null&data7=null" onmouseover="this.select()" readonly="">
 		<h1>1. Command - Create link</h1>
 			<div class="well">
 				<p>Value [command] = createlink</p>
 				<p>Value [apikey] = <?php echo $seeP['api']; ?></p>
 				<p>Value [data1] = /URL/</p>
 				<p>Value [data2] = /PASSWORD/</p>
 				<p>Value [data3] = /ADTYPE/ (interstitial:video:banner:none)</p>
 				<p>Value [data4] = /TITLE/</p>
 				<p>Value [data5] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data6] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data7] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 			</div>
 			<p>Scheme:</p>
 			<input style="cursor:copy; opacity: 1;text-align: center;" class="form-control autosize" rows="1" value="<?php echo $mainurl; ?>get/api.php?command=createlink&api=[APIKEY]&data1=[URL]&data2=[PASSWORD]&data3=[ADTYPE]&data4=[TITLE]&data5=null&data6=null&data7=null" onmouseover="this.select()" readonly="">
 			<p>Example:</p>
 			<input style="cursor:copy; opacity: 1;text-align: center;" class="form-control autosize" rows="1" value="<?php echo $mainurl; ?>get/api.php?command=createlink&api=<?php echo $seeP['api']; ?>&data1=http://google.com&data2=pass123&data3=interstitial&data4=TitleGoogle&data5=null&data6=null&data7=null" onmouseover="this.select()" readonly="">
 		<h1>2. Command - Edit link</h1>
 			<div class="well">
 				<p>Value [command] = editlink</p>
 				<p>Value [apikey] = <?php echo $seeP['api']; ?></p>
 				<p>Value [data1] = /URL/</p>
 				<p>Value [data2] = /PASSWORD/</p>
 				<p>Value [data3] = /ADTYPE/ (interstitial:video:banner:none)</p>
 				<p>Value [data4] = /TITLE/</p>
 				<p>Value [data5] = /CODE/</p>
 				<p>Value [data6] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data7] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 			</div>
 			<p>Scheme:</p>
 			<input style="cursor:copy; opacity: 1;text-align: center;" class="form-control autosize" rows="1" value="<?php echo $mainurl; ?>get/api.php?command=editlink&api=[APIKEY]&data1=[URL]&data2=[PASSWORD]&data3=[ADTYPE]&data4=[TITLE]&data5=[CODE]&data6=null&data7=null" onmouseover="this.select()" readonly="">
 			<p>Example:</p>
 			<input style="cursor:copy; opacity: 1;text-align: center;" class="form-control autosize" rows="1" value="<?php echo $mainurl; ?>get/api.php?command=editlink&api=<?php echo $seeP['api']; ?>&data1=http://google.com&data2=pass123&data3=video&data4=NewTitle&data5=AdElOk&data6=null&data7=null" onmouseover="this.select()" readonly="">
 		<h1>3. Command - Delete link</h1>
 			<div class="well">
 				<p>Value [command] = deletelink</p>
        		<p>Value [apikey] = <?php echo $seeP['api']; ?></p>
 				<p>Value [data1] = /CODE/</p>
 				<p>Value [data2] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data3] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data4] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data5] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data6] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data7] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
      	</div>
 			<p>Scheme:</p>
 			<input style="cursor:copy; opacity: 1;text-align: center;" class="form-control autosize" rows="1" value="<?php echo $mainurl; ?>get/api.php?command=deletelink&api=[APIKEY]&data1=[CODE]&data2=null&data3=null&data4=null&data5=null&data6=null&data7=null" onmouseover="this.select()" readonly="">
 			<p>Example:</p>
 			<input style="cursor:copy; opacity: 1;text-align: center;" class="form-control autosize" rows="1" value="<?php echo $mainurl; ?>get/api.php?command=deletelink&api=<?php echo $seeP['api']; ?>&data1=AdElOk&data2=null&data3=null&data4=null&data5=null&data6=null&data7=null" onmouseover="this.select()" readonly="">
 		<h1>4. Command - Get link informations</h1>
 			<div class="well">
 				<p>Value [command] = linkinfo</p>
        		<p>Value [apikey] = <?php echo $seeP['api']; ?></p>
 				<p>Value [data1] = /CODE/</p>
 				<p>Value [data2] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data3] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data4] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data5] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data6] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data7] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
      	</div>
 			<p>Scheme:</p>
 			<input style="cursor:copy; opacity: 1;text-align: center;" class="form-control autosize" rows="1" value="<?php echo $mainurl; ?>get/api.php?command=linkinfo&api=[APIKEY]&data1=[CODE]&data2=null&data3=null&data4=null&data5=null&data6=null&data7=null" onmouseover="this.select()" readonly="">
 			<p>Example:</p>
 			<input style="cursor:copy; opacity: 1;text-align: center;" class="form-control autosize" rows="1" value="<?php echo $mainurl; ?>get/api.php?command=linkinfo&api=<?php echo $seeP['api']; ?>&data1=AdElOk&data2=null&data3=null&data4=null&data5=null&data6=null&data7=null" onmouseover="this.select()" readonly="">
 		<h1>5. Command - Get referral link</h1>
 			<div class="well">
 				<p>Value [command] = usersreflink</p>
        		<p>Value [apikey] = <?php echo $seeP['api']; ?></p>
 				<p>Value [data1] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data2] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data3] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data4] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data5] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data6] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data7] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
      	</div>
 			<p>Scheme:</p>
 			<input style="cursor:copy; opacity: 1;text-align: center;" class="form-control autosize" rows="1" value="<?php echo $mainurl; ?>get/api.php?command=usersreflink&api=[APIKEY]&data1=null&data2=null&data3=null&data4=null&data5=null&data6=null&data7=null" onmouseover="this.select()" readonly="">
 			<p>Example:</p>
 			<input style="cursor:copy; opacity: 1;text-align: center;" class="form-control autosize" rows="1" value="<?php echo $mainurl; ?>get/api.php?command=usersreflink&api=<?php echo $seeP['api']; ?>&data1=null&data2=null&data3=null&data4=null&data5=null&data6=null&data7=null" onmouseover="this.select()" readonly="">
 		<h1>6. Command - Create campaign</h1>
 			<div class="well">
 				<p>Value [command] = createcampaign</p>
        		<p>Value [apikey] = <?php echo $seeP['api']; ?></p>
 				<p>Value [data1] = /URL/</p>
 				<p>Value [data2] = /MEDIA URL/ (video file url:banner image url)</p>
 				<p>Value [data3] = /ADTYPE/ (interstitial:video:banner:none)</p>
 				<p>Value [data4] = /TITLE/</p>
 				<p>Value [data5] = /COUNTRIES/ > only 1 country! ex. All or United States</p>
 				<p>Value [data6] = /ACTIVE/ (0:1)</b></p>
 				<p>Value [data7] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
      	</div>
 			<p>Scheme:</p>
 			<input style="cursor:copy; opacity: 1;text-align: center;" class="form-control autosize" rows="1" value="<?php echo $mainurl; ?>get/api.php?command=createcampaign&api=[APIKEY]&data1=[URL]&data2=[MEDIA URL]&data3=[ADTYPE]&data4=[TITLE]&data5=[COUNTRIES]&data6=[ACTIVE]&data7=null" onmouseover="this.select()" readonly="">
 			<p>Example:</p>
 			<input style="cursor:copy; opacity: 1;text-align: center;" class="form-control autosize" rows="1" value="<?php echo $mainurl; ?>get/api.php?command=createcampaign&api=<?php echo $seeP['api']; ?>&data1=http://redirect.com&data2=http://image.com/1.jpg&data3=video&data4=MyFirstCampaign&data5=Slovakia&data6=1&data7=null" onmouseover="this.select()" readonly="">
 		<h1>7. Command - Edit campaign</h1>
 			<div class="well">
 				<p>Value [command] = editcampaign</p>
        		<p>Value [apikey] = <?php echo $seeP['api']; ?></p>
 				<p>Value [data1] = /ID/ ID of campaign</b></p>
 				<p>Value [data2] = /URL/</p>
 				<p>Value [data3] = /MEDIA URL/ (video file url:banner image url)</p>
 				<p>Value [data4] = /ADTYPE/ (interstitial:video:banner:none)</p>
 				<p>Value [data5] = /TITLE/</p>
 				<p>Value [data6] = /COUNTRIES/ > only 1 country! ex. All or United States</p>
 				<p>Value [data7] = /ACTIVE/ (0:1)</b></p>
 			</div>
 			<p>Scheme:</p>
 			<input style="cursor:copy; opacity: 1;text-align: center;" class="form-control autosize" rows="1" value="<?php echo $mainurl; ?>get/api.php?command=createcampaign&api=[APIKEY]&data1=[ID]&data2=[URL]&data3=[MEDIA URL]&data4=[ADTYPE]&data5=[TITLE]&data6=[COUNTRIES]&data7=[ACTIVE]" onmouseover="this.select()" readonly="">
 			<p>Example:</p>
 			<input style="cursor:copy; opacity: 1;text-align: center;" class="form-control autosize" rows="1" value="<?php echo $mainurl; ?>get/api.php?command=createcampaign&api=<?php echo $seeP['api']; ?>&data1=154&data2=http://newredirect.com&data3=http://image.com/2.jpg&data4=video&data5=MyFirstCampaignEditedTitle&data6=United States&data7=0" onmouseover="this.select()" readonly="">
 		<h1>8. Command - Delete campaign</h1>
 			<div class="well">
 				<p>Value [command] = deletecampaign</p>
        		<p>Value [apikey] = <?php echo $seeP['api']; ?></p>
 				<p>Value [data1] = /ID/ ID of campaign</p>
 				<p>Value [data2] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data3] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data4] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data5] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data6] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data7] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
      	</div>
 			<p>Scheme:</p>
 			<input style="cursor:copy; opacity: 1;text-align: center;" class="form-control autosize" rows="1" value="<?php echo $mainurl; ?>get/api.php?command=deletecampaign&api=[APIKEY]&data1=[ID]&data2=null&data3=null&data4=null&data5=null&data6=null&data7=null" onmouseover="this.select()" readonly="">
 			<p>Example:</p>
 			<input style="cursor:copy; opacity: 1;text-align: center;" class="form-control autosize" rows="1" value="<?php echo $mainurl; ?>get/api.php?command=linkinfo&api=<?php echo $seeP['api']; ?>&data1=154&data2=null&data3=null&data4=null&data5=null&data6=null&data7=null" onmouseover="this.select()" readonly="">
 		<h1>9. Command - Get campaign informations</h1>
 			<div class="well">
 				<p>Value [command] = campaigninfo</p>
        		<p>Value [apikey] = <?php echo $seeP['api']; ?></p>
 				<p>Value [data1] = /ID/ ID of campaign</p>
 				<p>Value [data2] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data3] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data4] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data5] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data6] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data7] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
      	</div>
 			<p>Scheme:</p>
 			<input style="cursor:copy; opacity: 1;text-align: center;" class="form-control autosize" rows="1" value="<?php echo $mainurl; ?>get/api.php?command=campaigninfo&api=[APIKEY]&data1=[ID]&data2=null&data3=null&data4=null&data5=null&data6=null&data7=null" onmouseover="this.select()" readonly="">
 			<p>Example:</p>
 			<input style="cursor:copy; opacity: 1;text-align: center;" class="form-control autosize" rows="1" value="<?php echo $mainurl; ?>get/api.php?command=campaigninfo&api=<?php echo $seeP['api']; ?>&data1=154&data2=null&data3=null&data4=null&data5=null&data6=null&data7=null" onmouseover="this.select()" readonly="">
 		<h1>10. Command - Get all user's links</h1>
 			<div class="well">
 				<p>Value [command] = userslinks</p>
        		<p>Value [apikey] = <?php echo $seeP['api']; ?></p>
 				<p>Value [data1] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data2] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data3] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data4] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data5] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data6] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data7] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
      	</div>
 			<p>Scheme:</p>
 			<input style="cursor:copy; opacity: 1;text-align: center;" class="form-control autosize" rows="1" value="<?php echo $mainurl; ?>get/api.php?command=userslinks&api=[APIKEY]&data1=null&data2=null&data3=null&data4=null&data5=null&data6=null&data7=null" onmouseover="this.select()" readonly="">
 			<p>Example:</p>
 			<input style="cursor:copy; opacity: 1;text-align: center;" class="form-control autosize" rows="1" value="<?php echo $mainurl; ?>get/api.php?command=userslinks&api=<?php echo $seeP['api']; ?>&data1=null&data2=null&data3=null&data4=null&data5=null&data6=null&data7=null" onmouseover="this.select()" readonly="">
 		<h1>11. Command - Get all user's campaigns</h1>
 			<div class="well">
 				<p>Value [command] = userscampaigns</p>
        		<p>Value [apikey] = <?php echo $seeP['api']; ?></p>
 				<p>Value [data1] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data2] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data3] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data4] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data5] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data6] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data7] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
      	</div>
 			<p>Scheme:</p>
 			<input style="cursor:copy; opacity: 1;text-align: center;" class="form-control autosize" rows="1" value="<?php echo $mainurl; ?>get/api.php?command=userscampaigns&api=[APIKEY]&data1=null&data2=null&data3=null&data4=null&data5=null&data6=null&data7=null" onmouseover="this.select()" readonly="">
 			<p>Example:</p>
 			<input style="cursor:copy; opacity: 1;text-align: center;" class="form-control autosize" rows="1" value="<?php echo $mainurl; ?>get/api.php?command=userscampaigns&api=<?php echo $seeP['api']; ?>&data1=null&data2=null&data3=null&data4=null&data5=null&data6=null&data7=null" onmouseover="this.select()" readonly="">
 		<h1>12. Command - Get user's traffic data from last 7 days</h1>
 			<div class="well">
 				<p>Value [command] = userstrafficweek</p>
        		<p>Value [apikey] = <?php echo $seeP['api']; ?></p>
 				<p>Value [data1] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data2] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data3] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data4] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data5] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data6] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data7] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
      	</div>
 			<p>Scheme:</p>
 			<input style="cursor:copy; opacity: 1;text-align: center;" class="form-control autosize" rows="1" value="<?php echo $mainurl; ?>get/api.php?command=userstrafficweek&api=[APIKEY]&data1=null&data2=null&data3=null&data4=null&data5=null&data6=null&data7=null" onmouseover="this.select()" readonly="">
 			<p>Example:</p>
 			<input style="cursor:copy; opacity: 1;text-align: center;" class="form-control autosize" rows="1" value="<?php echo $mainurl; ?>get/api.php?command=userstrafficweek&api=<?php echo $seeP['api']; ?>&data1=null&data2=null&data3=null&data4=null&data5=null&data6=null&data7=null" onmouseover="this.select()" readonly="">
 		<h1>13. Command - Get user's balances</h1>
 			<div class="well">
 				<p>Value [command] = usersbalances</p>
        		<p>Value [apikey] = <?php echo $seeP['api']; ?></p>
 				<p>Value [data1] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data2] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data3] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data4] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data5] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data6] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data7] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
      	</div>
 			<p>Scheme:</p>
 			<input style="cursor:copy; opacity: 1;text-align: center;" class="form-control autosize" rows="1" value="<?php echo $mainurl; ?>get/api.php?command=usersbalances&api=[APIKEY]&data1=null&data2=null&data3=null&data4=null&data5=null&data6=null&data7=null" onmouseover="this.select()" readonly="">
 			<p>Example:</p>
 			<input style="cursor:copy; opacity: 1;text-align: center;" class="form-control autosize" rows="1" value="<?php echo $mainurl; ?>get/api.php?command=usersbalances&api=<?php echo $seeP['api']; ?>&data1=null&data2=null&data3=null&data4=null&data5=null&data6=null&data7=null" onmouseover="this.select()" readonly="">
 		<h1>14. Command - Get user's list of referrals</h1>
 			<div class="well">
 				<p>Value [command] = userreflist</p>
        		<p>Value [apikey] = <?php echo $seeP['api']; ?></p>
 				<p>Value [data1] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data2] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data3] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data4] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data5] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data6] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data7] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
      	</div>
 			<p>Scheme:</p>
 			<input style="cursor:copy; opacity: 1;text-align: center;" class="form-control autosize" rows="1" value="<?php echo $mainurl; ?>get/api.php?command=userreflist&api=[APIKEY]&data1=null&data2=null&data3=null&data4=null&data5=null&data6=null&data7=null" onmouseover="this.select()" readonly="">
 			<p>Example:</p>
 			<input style="cursor:copy; opacity: 1;text-align: center;" class="form-control autosize" rows="1" value="<?php echo $mainurl; ?>get/api.php?command=userreflist&api=<?php echo $seeP['api']; ?>&data1=null&data2=null&data3=null&data4=null&data5=null&data6=null&data7=null" onmouseover="this.select()" readonly="">
 		<h1>15. Command - Get referral earnings</h1>
 			<div class="well">
 				<p>Value [command] = usersrefearnings</p>
        		<p>Value [apikey] = <?php echo $seeP['api']; ?></p>
 				<p>Value [data1] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data2] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data3] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data4] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data5] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data6] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data7] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
      	</div>
 			<p>Scheme:</p>
 			<input style="cursor:copy; opacity: 1;text-align: center;" class="form-control autosize" rows="1" value="<?php echo $mainurl; ?>get/api.php?command=usersrefearnings&api=[APIKEY]&data1=null&data2=null&data3=null&data4=null&data5=null&data6=null&data7=null" onmouseover="this.select()" readonly="">
 			<p>Example:</p>
 			<input style="cursor:copy; opacity: 1;text-align: center;" class="form-control autosize" rows="1" value="<?php echo $mainurl; ?>get/api.php?command=usersrefearnings&api=<?php echo $seeP['api']; ?>&data1=null&data2=null&data3=null&data4=null&data5=null&data6=null&data7=null" onmouseover="this.select()" readonly="">
 		<h1>16. Command - Get user's widget link</h1>
 			<div class="well">
 				<p>Value [command] = userswidget</p>
        		<p>Value [apikey] = <?php echo $seeP['api']; ?></p>
 				<p>Value [data1] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data2] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data3] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data4] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data5] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data6] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
 				<p>Value [data7] = <b>NOT REQUIRED FOR THIS COMMAND - enter value: null or give it empty value</b></p>
      	</div>
 			<p>Scheme:</p>
 			<input style="cursor:copy; opacity: 1;text-align: center;" class="form-control autosize" rows="1" value="<?php echo $mainurl; ?>get/api.php?command=userswidget&api=[APIKEY]&data1=null&data2=null&data3=null&data4=null&data5=null&data6=null&data7=null" onmouseover="this.select()" readonly="">
 			<p>Example:</p>
 			<input style="cursor:copy; opacity: 1;text-align: center;" class="form-control autosize" rows="1" value="<?php echo $mainurl; ?>get/api.php?command=userswidget&api=<?php echo $seeP['api']; ?>&data1=null&data2=null&data3=null&data4=null&data5=null&data6=null&data7=null" onmouseover="this.select()" readonly="">
 	</div>
</div>

<?php
include('other_footer.php');
?>
