statt $site_body nur einfach includen
Hallo =)
Ich brauche doch mal wieder eine Hilfestellung.
Wenn man den Befehl:
wird die HTM-Seite immer oben auf der Seite sein. Gibts vielleicht einen Befehl, der das Template einfach so includet, also nicht direkt als erste Stelle?
Danke schonmal für die Antworten
Ich brauche doch mal wieder eine Hilfestellung.
Wenn man den Befehl:
|
|
PHP-Quelltext |
1 |
eval ("\$site_body.=\"".templateinclude("crew/modwrite/modwrite_new")."\";");
|
Danke schonmal für die Antworten
=)
|
|
PHP-Quelltext |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
<head>
<meta http-equiv="refresh" content="30;URL=http://www.liveantenne.de/include.php?path=crew/radiator/radiator.php">
<script type="text/javascript" language="JavaScript">
<!--
// W. Jansen - clickstert.de
// hier die beiden Angaben eintragen
Verzeichnis = "crew/radiator/images/";
Dateiendung = ".gif";
Digits = new Array()
Vorladen = new Array()
for(i=0; i < 11; i++){
Digits[i]= i + ".gif";
}
for(i=0; i < Digits.length; i++){
Vorladen[i]=new Image();
Vorladen[i].src = Verzeichnis + Digits[i];
}
function imageclock(){
Jetzt=new Date();
Sek = Jetzt.getSeconds();
Min = Jetzt.getMinutes();
Std = Jetzt.getHours();
// zweistellige Werte ermitteln
var Zeitstring = ((Std < 10)?"0"+Std:Std)+''+((Min < 10)?"0"+Min:Min)+''+((Sek < 10)?"0"+Sek:Sek);
for (i=0; i < Zeitstring.length; i++){
document.getElementById('z'+i).src = Verzeichnis + Zeitstring.charAt(i) + Dateiendung;
}
setTimeout('imageclock()',1000);
}
window.onload=imageclock;
//-->
</script>
<table class="userbody" cellspacing="1" cellpadding="4" width="100%">
<tr>
<td class="heads" colspan="2">Radiator </td> <td class="heads" ALIGN=right>
<?php include_once ('crew/modwrite/ausgabe.php'); //ARTIKEL EINBINDEN ?>
</td>
</tr>
</table>
<TABLE width="100%" BORDER=0>
<TR>
<TD COLSPAN=3 ALIGN=left>
<?
if (date(D) == "Mon") {include("crew/radiator/short_montag.php");}
if (date(D) == "Tue") {include("crew/radiator/short_dienstag.php");}
if (date(D) == "Wed") {include("crew/radiator/short_mittwoch.php");}
if (date(D) == "Thu") {include("crew/radiator/short_donnerstag.php");}
if (date(D) == "Fri") {include("crew/radiator/short_freitag.php");}
if (date(D) == "Sat") {include("crew/radiator/short_samstag.php");}
if (date(D) == "Sun") {include("crew/radiator/short_sonntag.php");}
?>
</td>
<TD COLSPAN=3 ALIGN=right><table border="0" cellpadding="0" cellspacing="0"><tr align="center" valign="middle">
<td><img id="z0" src="crew/radiator/images/0.gif" width="15" height="20" border="0" alt=""></td>
<td><img id="z1" src="crew/radiator/images/0.gif" width="15" height="20" border="0" alt=""></td>
<td><img src="crew/radiator/images/11.gif" width="11" height="20" border="0" alt=""></td>
<td><img id="z2" src="crew/radiator/images/0.gif" width="15" height="20" border="0" alt=""></td>
<td><img id="z3" src="crew/radiator/images/0.gif" width="15" height="20" border="0" alt=""></td>
<td><img src="crew/radiator/images/11.gif" width="11" height="20" border="0" alt=""></td>
<td><img id="z4" src="crew/radiator/images/0.gif" width="15" height="20" border="0" alt=""></td>
<td><img id="z5" src="crew/radiator/images/0.gif" width="15" height="20" border="0" alt=""></td>
</tr></table>
<html>
<body>
<script type="text/javascript">
var Datum2 = new (Date);
var Tag2 = Datum2.getDate();
var Wochentag = Datum2.getDay();
var Monat2 = Datum2.getMonth();
var Jahr2 = Datum2.getFullYear();
var Tagname = new Array("Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag");
var Monatname = new
Array("Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember");
</script>
<script language="JavaScript">document.write(Tagname[Wochentag]+", "+Tag2+". "+Monatname[Monat2]+" "+Jahr2+" ");</script>
</body>
</html></td>
</tr>
</table>
<!-- Platzhalter -->
<div style="padding: 3px;"></div>
<!-- Platzhalter -->
<?
if (date(D) == "Mon") {include("crew/radiator/montag.php");}
if (date(D) == "Tue") {include("crew/radiator/dienstag.php");}
if (date(D) == "Wed") {include("crew/radiator/mittwoch.php");}
if (date(D) == "Thu") {include("crew/radiator/donnerstag.php");}
if (date(D) == "Fri") {include("crew/radiator/freitag.php");}
if (date(D) == "Sat") {include("crew/radiator/samstag.php");}
if (date(D) == "Sun") {include("crew/radiator/sonntag.php");}
?>
|
und unten im Code kommt eine Seite noch rein, die auch unten bleiben soll. Leider ist es auch ne php datei die auf einem template hinweist.
datei
|
|
PHP-Quelltext |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
<?php
if ($checkprofil['spezial_field']="Radiomoderator" or $USER['status']="admin") {
if (isset($_REQUEST['id'])) $id=$_REQUEST['id'];
else unset($id);
if (isset($_POST['action'])) $ACTION=$_REQUEST['action'];
else $ACTION='view';
if ($ACTION!='view' || !isset($id)) {
if ($ACTION==$_POST['Yes']) {
$DB->query("DELETE FROM ".$db_tab['radiator']." WHERE radiator_id='".$id."' LIMIT 1");
}
$getradiator = $DB->query("SELECT * FROM ".$db_tab['radiator']." WHERE radiator_id='".$id."'");
while($contentinfo=$DB->fetch_array($getradiator)) {
$radiator_0000=$contentinfo['radiator_0000'];
$radiator_0000_bild=$contentinfo['radiator_0000_bild'];
$radiator_0600=$contentinfo['radiator_0600'];
$radiator_0600_bild=$contentinfo['radiator_0600_bild'];
}
}
eval ("\$site_body.= \"".templateinclude("radiator/radiator_delete")."\";");
if ($ACTION==$_POST['No']) {
header ("location: include.php?path=radiator/radiator.php"); exit();
}
}
?>
|
Die Datei soll unter der Uhrzeit

- 1
- 2

Ähnliche Themen
-
alte Versionen [1.6.03|1.6.1|1.6.4] »-
1.6.1 PHP-Script Includen im Template site_body
(7. März 2010, 09:55)
-
Aktuelle Version [1.6.5] »-
1.6.5 Rewrite
(9. Januar 2010, 22:13)
-
alte Versionen [1.6.03|1.6.1|1.6.4] »-
Woltlab Burning Board 3 Forum mit Contentwrapper ins PHPKIT integrieren
(28. September 2008, 19:05)
-
alte Versionen [1.6.03|1.6.1|1.6.4] »-
Copyright von PHPKit stört
(29. März 2008, 19:17)
-
alte Versionen [1.6.03|1.6.1|1.6.4] »-
BB Codes und Smilies ÜBER Nachrichtenfeld setzen?
(17. Februar 2008, 21:29)


