init
This commit is contained in:
commit
72a26edcff
22092 changed files with 2101903 additions and 0 deletions
40
scripts/ue_media.php
Normal file
40
scripts/ue_media.php
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
<?php
|
||||
$_SESSION['m1']=9; $_SESSION['m2']=1;
|
||||
|
||||
//error_reporting(E_ALL);
|
||||
ini_set('display_errors', 0);
|
||||
|
||||
if($_SESSION['benutzer']==12) { $planer="T. Muerbe"; }
|
||||
else if($_SESSION['benutzer']==13) { $planer="Anett"; }
|
||||
else if($_SESSION['benutzer']==18) { $planer="Joerg Basse"; }
|
||||
else if($_SESSION['benutzer']==44) { $planer="I. Steinmacher"; }
|
||||
else if($_SESSION['benutzer']==116) { $planer="Chrissy Basse"; }
|
||||
else $planer="Frank";
|
||||
|
||||
|
||||
$timestr=time();
|
||||
|
||||
$anzeige=0;
|
||||
if(isset($_POST['testsave'])) {
|
||||
$zahl=0; $key=0;
|
||||
foreach($_POST['list'] as $row) {
|
||||
if(isset($row['wahl'])) {
|
||||
$anzeige++;
|
||||
|
||||
$sms_nummer[0]=$row['handy'];
|
||||
$MessageText=$_POST['text'];
|
||||
$GLOBALS['cms']->sendcms($MessageText,$sms_nummer,0);
|
||||
|
||||
$kontrolle[$key]['name']=$row['name'];
|
||||
$kontrolle[$key]['handy']=$row['handy'];
|
||||
$kontrolle[$key]['text']=$_POST['text'];
|
||||
$key++; $zahl++;
|
||||
}
|
||||
}
|
||||
}
|
||||
$mitarbeiterlist_a = $GLOBALS['mysql']->query_array("SELECT * FROM mitarbeiter WHERE aktiv>0 AND handy!='' ORDER by name"); $template->assign('mitarbeiterlist_a', $mitarbeiterlist_a);
|
||||
|
||||
$template->assign('anzeige', $anzeige);
|
||||
if(isset($kontrolle)) { $template->assign('kontrolle', $kontrolle); }
|
||||
$template->assign('content', 'tpl/ue_media.tpl');
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue