";}?>
 
 


$array2[1]
\n"; } } ?>
$array[1]
\n"; } } ?>

\n"; echo "\n"; echo "\n"; $sql_select = "SELECT * FROM tu_partner ORDER BY id"; $result = mysql_query($sql_select, $db); while($array = mysql_fetch_array($result)){ if($array[4]=="1") { echo "\n"; } } echo "
"; echo " Partner
"; echo "
"; ?>
Ort: $ort1[rubrik]"; $ort2 = mysql_fetch_array(mysql_query("SELECT id,name FROM tu_html WHERE id='$page'")); echo "$ort2[name]"; $ort3 = mysql_fetch_array(mysql_query("SELECT id,name FROM tu_jobs WHERE id='$job'")); if($ort3) echo "Jobs > $ort3[name]"; $ort4 = mysql_fetch_array(mysql_query("SELECT id,title FROM tu_news WHERE id='$news'")); if($ort4) echo "News > $ort4[title]"; $ort5 = mysql_fetch_array(mysql_query("SELECT id,title FROM tu_technews WHERE id='$tnews'")); if($ort5) echo "Aktuelles > $ort5[title]"; $ort13 = mysql_fetch_array(mysql_query("SELECT id,name FROM tu_subrubrik WHERE id='$skat'")); if($ort13) echo " > $ort13[name]"; $ort23 = mysql_fetch_array(mysql_query("SELECT id,title FROM tu_skripte WHERE id='$artikel'")); if($ort23) echo " > $ort23[title]"; $ort33 = mysql_fetch_array(mysql_query("SELECT id,name FROM tu_tutorials WHERE id='$tut'")); if($ort33) echo " > $ort33[name]"; ?>

    Willkommen bei TheUnited, Sie finden hier über 150 PHP-,
    CGI- und Java-Skripte.


    Aktuelles
    $array[1]
    "; echo "$array[2]
    "; echo "($array[4] - $array[5] Uhr)

    \n"; } ?> \n"; } } */ ?>


0){ $sql_select = "SELECT * FROM tu_subrubrik WHERE rubrik_id='$kat' AND enabled='1' ORDER BY id"; $result = mysql_query($sql_select, $db); echo "
\n"; $i = "0"; while($array = mysql_fetch_array($result)){ $numdb_query = mysql_query("SELECT * FROM tu_skripte WHERE subrubrik_id='$array[id]' AND enabled='1'"); $numdb = mysql_num_rows($numdb_query); echo "$array[name] ($numdb)
"; echo "$array[kurztext]
"; if($i=="0") { echo "
"; $i = "1"; } else { echo "
"; $i = "0"; } } echo "
"; $sql_select = "SELECT * FROM tu_html WHERE rubrik_id='$kat' AND enabled='1' ORDER BY id"; $result = mysql_query($sql_select, $db); echo "
\n"; $i = "0"; while($array2 = mysql_fetch_array($result)){ echo "$array2[name]
"; echo "$array2[kurztext]
"; if($i=="0") { echo "
"; $i = "1"; } else { echo "
"; $i = "0"; } } echo "
"; } else { // if($katdb > 0) // Überprüfen ob mehrere Seiten für diese kategorie vorhanden sind $sitedb_query = mysql_query("SELECT * FROM tu_html WHERE rubrik_id='$kat' AND enabled='1'"); $sitedb = mysql_num_rows($sitedb_query); if($sitedb > 1){ $sql_select = "SELECT * FROM tu_html WHERE rubrik_id='$kat' AND enabled='1' ORDER BY id"; $result = mysql_query($sql_select, $db); echo "
\n"; $i = "0"; while($array = mysql_fetch_array($result)){ echo "$array[name]
"; echo "$array[kurztext]
"; if($i=="0") { echo "
"; $i = "1"; } else { echo "
"; $i = "0"; } } echo "
"; } else { // if($sitedb > 1) $page_select = "SELECT * FROM tu_html WHERE rubrik_id='$kat' AND enabled='1' ORDER BY id"; $page_result = mysql_query($page_select, $db); $page_array = mysql_fetch_array($page_result); $page = "$page_array[id]"; } // if($sitedb > 1) } // if($katdb > 0) // Liste alle Tutorials der Rubrik auf if($kat && !isset($tut)) { $sql_select = "SELECT * FROM tu_tutorials WHERE rubrik_id='$kat' AND enabled='1' ORDER BY id"; $result = mysql_query($sql_select, $db); echo "
\n"; $i = "0"; while($array = mysql_fetch_array($result)){ echo "$array[name]
"; echo "$array[kurztext]
"; if($i=="0") { echo "
"; $i = "1"; } else { echo "
"; $i = "0"; } } echo "
"; } // if($kat && !isset($tut)) } // ENDE if(!$page) // START if($page) if($page) { if($vorname){ $sql_insert = "INSERT INTO tu_newsletter VALUES ('', '$vorname', '$nachname', '$email', '$adate')"; $result = mysql_query($sql_insert, $db); if($result) { if($referer=="http://theunited.photonium.de/pop_newsletter.html") { echo""; } else { echo ""; } $subject = "Newsletter beitreten"; $msg = "Eine Person ($vorname $nachname) hat Ihren Newsletter bestellt.\n\nE-Mail Adresse: $email"; mail("TheUnited CMS-Roboter ", "$subject", "$msg", "From: Photonium Server "); } } else { $sql_select = "SELECT * FROM tu_html WHERE id='$page' AND enabled='1'"; $result = mysql_query($sql_select, $db); $array = mysql_fetch_array($result); $newhits = $array[hits]+1; $addhits = mysql_query("UPDATE tu_html SET hits='$newhits' WHERE id='$page'"); echo "
"; echo "$array[html]"; echo "
\n"; } } // ENDE if($page) // START SKAT SKRIPTE if($skat && !isset($artikel)) { $sql_select = "SELECT * FROM tu_skripte WHERE subrubrik_id='$skat' AND enabled='1' ORDER BY id"; $result = mysql_query($sql_select, $db); echo "
\n"; $i = "0"; while($array = mysql_fetch_array($result)){ echo "$array[title] ($array[hits] Downloads)
"; echo "$array[kurztext]
"; if($i=="0") { echo "
"; $i = "1"; } else { echo "
"; $i = "0"; } } echo "
"; } // ENDE SKAT SKRIPTE // START ARTIKEL if($artikel) { $sql_select = "SELECT * FROM tu_skripte WHERE subrubrik_id='$skat' AND id='$artikel' AND enabled='1'"; $result = mysql_query($sql_select, $db); $array = mysql_fetch_array($result); $newhits = $array[hits]+1; $addhits = mysql_query("UPDATE tu_skripte SET hits='$newhits' WHERE id='$artikel'"); echo "
\n"; echo "$array[title]
"; echo "$array[text]

"; if($array[autor]) { echo "Autor: $array[autor]
"; } if($array[version]) { echo "Vers.: $array[version]
"; } if($array[website]) { $arr = parse_url("$array[website]"); echo "Homepage: $arr[host]
"; } if($array[filename]) { echo "
"; echo "Download
"; } echo "
"; echo "$array[poster]    
"; echo "
"; } // ENDE ARTIKEL // START Tutorial if($tut) { $sql_select = "SELECT * FROM tu_tutorials WHERE id='$tut' AND enabled='1'"; $result = mysql_query($sql_select, $db); $array = mysql_fetch_array($result); $newhits = $array[hits]+1; $addhits = mysql_query("UPDATE tu_tutorials SET hits='$newhits' WHERE id='$tut'"); echo "
\n"; echo "$array[name]

"; echo "$array[html]

"; // Beispiel if($array[beispiel]) { echo "Beispiel
"; } // // Speichern // if($array[beispiel]) { // echo "Download
"; // } echo "
"; echo "$array[poster]    
"; echo "
"; } // ENDE Tutorial } // ENDE !KAT=9 // START JOB= if($job){ echo "
    \n"; // Job-Details anzeigen $sql_select = "SELECT * FROM tu_jobs WHERE id='$job'"; $result = mysql_query($sql_select, $db); $array = mysql_fetch_array($result); if($array[3]=="1") { echo "$array[1]

    \n"; echo "$array[2]
    "; } else { echo "Job nicht freigeschaltet !
    \n"; } echo "
\n"; } // ENDE JOB= // START NEWS= if($news){ ?>
    $array[1]

    "; echo "$array[3]

    "; echo "
    $array[6]      

    "; } ?>
"; if($array[enabled]=="1") { echo "$array[1]

"; echo "$array[3]

"; echo "
$array[6]      

"; } echo "
"; ?>
Partner

\n"; } } ?>

0) { ?> Jobs
$array[1]
\n"; } } } // if($enabled_jobs > 0) ?>