init
This commit is contained in:
commit
72a26edcff
22092 changed files with 2101903 additions and 0 deletions
23
scripts/ajax/ue_info_sms.php
Normal file
23
scripts/ajax/ue_info_sms.php
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<?php
|
||||
//------------------ sms
|
||||
$tag = date("d");
|
||||
$monat = date("m");
|
||||
$jahr = date("Y");
|
||||
|
||||
$sms = $GLOBALS['mysql']->query("SELECT id,smsstatus FROM tourenliste WHERE tag='".$tag."' and monat='".$monat."' and jahr='".$jahr."'");
|
||||
$key=0;
|
||||
while($row = $sms->fetch_assoc()) {
|
||||
if($row['smsstatus']==0) { $smss[0]++; }
|
||||
if($row['smsstatus']==20) { $smss[1]++; }
|
||||
if($row['smsstatus']==3) { $smss[2]++; }
|
||||
if($row['smsstatus']==4) { $smss[2]++; }
|
||||
if($row['smsstatus']==5) { $smss[2]++; }
|
||||
if($row['smsstatus']==6) { $smss[2]++; }
|
||||
if($row['smsstatus']==8) { $smss[3]++; }
|
||||
if($row['smsstatus']==1) { $smss[4]++; }
|
||||
if($row['smsstatus']==2) { $smss[5]++; }
|
||||
}
|
||||
|
||||
$template->assign('ss', $smss);
|
||||
$template->assign('content', 'tpl/ajax/ue_info_sms.tpl');
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue