if (!isset($_COOKIE["id"]) || $_COOKIE['usertype']!="chatmodels" ) { header("location: ../../login_sender.php"); } else{ include("../../dbase.php"); include("../../settings.php"); $result=mysql_query("SELECT user from $_COOKIE[usertype] WHERE id='$_COOKIE[id]' LIMIT 1"); while($row = mysql_fetch_array($result)) { $username=$row[user]; } } mysql_free_result($result); include("../../dbase.php"); $model=$username; $tempMoneyEarned=0; $tempMoneySent=0; $result = mysql_query("SELECT * FROM videosessions WHERE model='$model'"); while($row = mysql_fetch_array($result)) { $epercentage=$row['epercentage']; $duration=$row['duration']; $cpm=$row['cpm']; $ammount=(($duration/60)*$cpm)*$epercentage/10000 ; $tempMoneyEarned+=$ammount; if ($row['paid']=="1"){ $tempMoneySent+=$ammount; } } mysql_free_result($result); $nMoney=$tempMoneyEarned-$tempMoneySent; /*$result = mysql_query('SELECT moneyEarned,moneySent FROM chatmodelsstatus WHERE id="'.$_COOKIE["id"].'" LIMIT 1'); while($row = mysql_fetch_array($result)) { $nMoney=$row[moneyEarned]; $nMoneySent=$row[moneySent]; $nMoney=$nMoney-$nMoneySent; }}*/ $nMoney=number_format($nMoney, 2, '.', ','); $result = mysql_query('SELECT id,user,cpm,epercentage FROM chatmodels WHERE id="'.$_COOKIE["id"].'" LIMIT 1'); while($row = mysql_fetch_array($result)) { $nCpm=$row[cpm]; $sUser=$row[user]; $sId=$row[id]; $epercentage=$row[epercentage]; } mysql_free_result($result); include("../../dbase.php"); $result=mysql_query("SELECT * from favorites WHERE model='$sUser' LIMIT 1"); while($row = mysql_fetch_array($result)) { $member=$row[member]; $result2=mysql_query("SELECT phone,email,emailnotify,smsnotify from chatusers WHERE user='$member' LIMIT 1"); while($row2 = mysql_fetch_array($result2)) { if ($row2[emailnotify]==1){ $now = date("H:i:s, d F Y "); $subject = "Eine deiner Sender Favoriten bei $sitename ist Online! Es ist $model."; $message = "Hallo $member, $model ist jetzt Online. Logge dich doch ein und chatte jetzt. $siteurl/login_extern.php?user=$member Profil des Senders aufrufen: $siteurl/c6.php?id=$model Viel Spaß! Dies ist eine automatisch generierte e-Mail. Bitte antworte nicht darauf!"; mail($row2[email], $subject, $message,"from:" . $lostpw_email); } if ($row2[smsnotify]==1){ //send sms to $row[phone] } } } ?>
Klicke immer zuerst auf |
"Start Broadcast" Ansonsten wird dein Sender nicht als Online angezeigt. |
"Sonstiges" Dies ist hier nur die Kurzleitung alle weitere Dinge findest du ausführlich beschrieben in deinem Senderbereich. |
|
$result = mysql_query('SELECT * FROM chatmodels WHERE id="'.$_COOKIE["id"].'" LIMIT 1');
while($row = mysql_fetch_array($result))
{
$username=$row['user'];
$sUser=$row[user];
$tL1=$row["language1"];
$tL2=$row["language2"];
$tBraS=$row["braSize"];
$tBirthS=$row["birthSign"];
$tFantasies=$row["fantasies"];
$tPosition=$row["position"];
$tcam=$row["cam"];
$category=$row["category"];
}
echo "";
if ($tcam == "no")
{
$piccam ="";
}
else
{
$piccam ="";
}
if ($category == 1) {$rubricname = "Frauen für Männer";}
if ($category == 2) {$rubricname = "Männer für Frauen";}
if ($category == 3) {$rubricname = "für Paare";}
if ($category == 4) {$rubricname = "Schwul";}
$tPosition = substr($tPosition,0,30);
$tPosition1 = substr($tPosition,0,strrpos($tPosition," "));
$tFantasies = substr($tFantasies,0,80);
$tFantasies1 = substr($tFantasies,0,strrpos($tFantasies," "));
?>
echo $username; ?> echo $tL1; ?>, echo $tL2; ?> echo $tBirthS; ?> echo $tBraS; ?> echo $tPosition1; ?>... echo $tFantasies1; ?>... Kategorie: echo $rubricname; ?> echo $piccam; ?> |