init
This commit is contained in:
commit
72a26edcff
22092 changed files with 2101903 additions and 0 deletions
40
scripts/anlegen_werbung.php
Normal file
40
scripts/anlegen_werbung.php
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
<?
|
||||
|
||||
$key=0;
|
||||
$zahl=200;
|
||||
//$date = new DateTime('2013-10-04');
|
||||
|
||||
while($key < $zahl) {
|
||||
$typ="11";
|
||||
$tag=$date->format('d');
|
||||
$monat=$date->format('m');
|
||||
$jahr=$date->format('Y');
|
||||
/*
|
||||
$tour = "1010"; $GLOBALS['mysql']->insert("INSERT INTO tourenliste (typ,tag,monat,jahr,tour) VALUES('".$typ."','".$tag."','".$monat."','".$jahr."','".$tour."')");
|
||||
$tour = "1030"; $GLOBALS['mysql']->insert("INSERT INTO tourenliste (typ,tag,monat,jahr,tour) VALUES('".$typ."','".$tag."','".$monat."','".$jahr."','".$tour."')");
|
||||
$tour = "1040"; $GLOBALS['mysql']->insert("INSERT INTO tourenliste (typ,tag,monat,jahr,tour) VALUES('".$typ."','".$tag."','".$monat."','".$jahr."','".$tour."')");
|
||||
$tour = "1100"; $GLOBALS['mysql']->insert("INSERT INTO tourenliste (typ,tag,monat,jahr,tour) VALUES('".$typ."','".$tag."','".$monat."','".$jahr."','".$tour."')");
|
||||
$tour = "1110"; $GLOBALS['mysql']->insert("INSERT INTO tourenliste (typ,tag,monat,jahr,tour) VALUES('".$typ."','".$tag."','".$monat."','".$jahr."','".$tour."')");
|
||||
$tour = "1120"; $GLOBALS['mysql']->insert("INSERT INTO tourenliste (typ,tag,monat,jahr,tour) VALUES('".$typ."','".$tag."','".$monat."','".$jahr."','".$tour."')");
|
||||
$tour = "1130"; $GLOBALS['mysql']->insert("INSERT INTO tourenliste (typ,tag,monat,jahr,tour) VALUES('".$typ."','".$tag."','".$monat."','".$jahr."','".$tour."')");
|
||||
$tour = "1150"; $GLOBALS['mysql']->insert("INSERT INTO tourenliste (typ,tag,monat,jahr,tour) VALUES('".$typ."','".$tag."','".$monat."','".$jahr."','".$tour."')");
|
||||
$tour = "1190"; $GLOBALS['mysql']->insert("INSERT INTO tourenliste (typ,tag,monat,jahr,tour) VALUES('".$typ."','".$tag."','".$monat."','".$jahr."','".$tour."')");
|
||||
$tour = "1300"; $GLOBALS['mysql']->insert("INSERT INTO tourenliste (typ,tag,monat,jahr,tour) VALUES('".$typ."','".$tag."','".$monat."','".$jahr."','".$tour."')");
|
||||
$tour = "1301"; $GLOBALS['mysql']->insert("INSERT INTO tourenliste (typ,tag,monat,jahr,tour) VALUES('".$typ."','".$tag."','".$monat."','".$jahr."','".$tour."')");
|
||||
$tour = "1350"; $GLOBALS['mysql']->insert("INSERT INTO tourenliste (typ,tag,monat,jahr,tour) VALUES('".$typ."','".$tag."','".$monat."','".$jahr."','".$tour."')");
|
||||
$tour = "1360"; $GLOBALS['mysql']->insert("INSERT INTO tourenliste (typ,tag,monat,jahr,tour) VALUES('".$typ."','".$tag."','".$monat."','".$jahr."','".$tour."')");
|
||||
$tour = "1400"; $GLOBALS['mysql']->insert("INSERT INTO tourenliste (typ,tag,monat,jahr,tour) VALUES('".$typ."','".$tag."','".$monat."','".$jahr."','".$tour."')");
|
||||
$tour = "1901"; $GLOBALS['mysql']->insert("INSERT INTO tourenliste (typ,tag,monat,jahr,tour) VALUES('".$typ."','".$tag."','".$monat."','".$jahr."','".$tour."')");
|
||||
$tour = "1902"; $GLOBALS['mysql']->insert("INSERT INTO tourenliste (typ,tag,monat,jahr,tour) VALUES('".$typ."','".$tag."','".$monat."','".$jahr."','".$tour."')");
|
||||
$tour = "1903"; $GLOBALS['mysql']->insert("INSERT INTO tourenliste (typ,tag,monat,jahr,tour) VALUES('".$typ."','".$tag."','".$monat."','".$jahr."','".$tour."')");
|
||||
*/
|
||||
$date->modify('+7 day');
|
||||
// date_modify($date, '+7 day');
|
||||
$key++;
|
||||
echo $key;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue