include ("config.php");
include (_CLASSES_DIR_ . "/user.php");
$user = new user();
$user->check();
if (!$user->is_logined())
{
header ("Location: ../index.htm");
exit;
}
?>
GenerousCash - Webmaster Area - Hosted Galleries
Welcome! :) You are logged in as: =$user->info["first_name"]?> (log out) Your last session was on: =date("F jS, Y H:i", strtotime($user->info["date"]))?>
$domains = array ();
$query = "SELECT * FROM domains ORDER BY title";
$result = mysql_query($query);
$domains[] = "";
while ($row = mysql_fetch_assoc($result)) $domains[] = "";
$domains = join("", $domains);
if (is_array($_GET)) extract($_GET);
if (!$_GET["total_button"] && !$byear)
{
$query = "SELECT min(date) FROM galleries";
$result = mysql_query($query);
list($date) = mysql_fetch_row($result);
list($byear, $bmonth, $bday) = explode("-", $date);
list($eyear, $emonth, $eday) = explode("-", date("Y-m-d"));
}
?>
We have a bunch of high quality hosted galleries for TGP/MGP sites.
Use Full View option to see thumbnail previews / descriptions / date information.
If you need to place a lot of galleries on your TGP/MGP, use
Export URLs Only viewing option -
you will get a list of URLs you can easily insert into your script.
Every hosted gallery contains your affilate ID information. Here's how it works:
Your current ID is =$user->info["affiliate_id"]?>
Gallery URLs are like this: .html">http://hosted.viparchive.com/adriana_sage_01/=$user->info["affiliate_id"]?>.html
Adv.link on the gallery will be: http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=925387-0000&PA==$user->info["affiliate_id"]?>&HTML=http://www.viparchive.com
Select period:
-
Hosted galleries=$_GET["show"] ? "" : " (All)"?>
if (!$_GET["total_button"] && $_GET["domain"]) $query = "SELECT * FROM galleries WHERE date >= '" . $byear . "-" . $bmonth . "-" . $bday . "' AND date <= '" . $eyear . "-" . $emonth . "-" . $eday . "' AND domain = " . intval($_GET["domain"]) . " ORDER BY date DESC, url ASC";
elseif (!$_GET["total_button"] && $_GET["domain"] == 0) $query = "SELECT * FROM galleries WHERE date >= '" . $byear . "-" . $bmonth . "-" . $bday . "' AND date <= '" . $eyear . "-" . $emonth . "-" . $eday . "' ORDER BY date DESC, url ASC";
elseif ($_GET["domain"]) $query = "SELECT * FROM galleries WHERE domain = " . intval($_GET["domain"]) . " ORDER BY date DESC, url ASC";
else $query = "SELECT * FROM galleries ORDER BY date DESC, id DESC";
if ($_GET["view"] == "text")
{
?>
}
else
{
?>
$result = mysql_query($query);
while ($row = mysql_fetch_assoc($result))
{
?>