TalkPTC
The MarketPlace => Mods and Addons => Aurora Free Addons => Topic started by: fjworld on February 19, 2013, 03:50:14 PM
-
If you have an aurora script you will have a file called site_info.php
The file is part of the check for monitoring authorized usage of your script.
The url to complete the check is http://www.THESITEDOMAIN.COM/index.php?view=site_info
Often the license key for the site will be very long and it will not look good on the page.
You can replace the existing code in your site_info.php file with the code provided below and you should get more structured display that fits on the page.
View the example in action at http://www.aurora-script.info/index.php?view=site_info
<?
include('config.php');
$key = SITE_KEY;
?>
<table cellpadding="5" border="2">
<tr>
<td><b>Registered Modules</b></td>
<td>
<?php
echo
"Domain: ".SETTING_DOMAIN."<br />".
"X Exchange: ".SETTING_CE."<br />".
"Paid To Click: ".SETTING_PTC."<br />".
"Paid To Promote: ".SETTING_PTP."<br />".
"Paid To Signup: ".SETTING_PTSU."<br />".
"Paid To Read ads: ".SETTING_PTRA."<br />".
"Paid To Read: ".SETTING_PTR."<br />"
;
?>
</td>
</tr>
<tr>
<td><b>License Key</b></td>
<td>
<?php
echo substr($key, 0, 50);
echo "<br>";
echo substr($key, 50, 50);
echo "<br>";
echo substr($key, 100, 50);
echo "<br>";
echo substr($key, 150, 50);
?>
</td>
</tr>
</table>