Parašė 333· 2008 Kov. 5 10:03:26
#1
@openside("Paieška");
?>
<html><center>
<form name='search' action='search.php?stype=n' method='post'>
<div align='center' class='search'>
<input type='text' class='inputbox' name='stext' value='' onBlur=\"if(this.value=='') this.value='';\" onFocus=\"if(this.value=='') this.value='';\">
<br>
<br><input type='submit' name='option' value='Ieskoti'></div></form></div></td>
</html>
<?
@closeside();
?>
Paieška
openside("ATSITIKTINES");
$data=dbarray($result);
$randphotodir = PHOTOS.(!@ini_get("safe_mode") ? "album_".$data['album_id']."/" : "");
if(!file_exists($filename)) $filename=$image_url.'/imagenotfound.jpg';
echo "<b><center>NARIU FOTO</b></center><br>";
echo "<center>
<a href='".BASEDIR."photogallery.php?photo_id=".$data['photo_id']."' class='gallery'>
<img src='".$randphotodir.$data['photo_thumb1']."' title='".$data['photo_title']."' alt='".$data['photo_title']."'>
</a><br /><a href='".BASEDIR."photogallery.php?photo_id=".$data['photo_id']."' class='side'>".$data['photo_title']."</a>
<br>
<a href='".BASEDIR."photogallery.php?album_id=".$data['album_id']."' class='side'>".$data['album_title']."
</center></a>";
closeside();
Atsitiktinės foto
openside("Virus scan");
echo '
<center><form enctype="MULTIPART/FORM-DATA" action="http://virusscan.jotti.org/" method="POST">
<input type="HIDDEN" name="MAX_FILE_SIZE" value="15242880">
<input name="scanfile" type="FILE" class="button" value="Failas..." size="10">
<br />
<input type="HIDDEN" name="action" value="process">
<input type="SUBMIT" class="button" id="submitbutton" value="Tikrinti" style="width:120px">
</form>
<span class="small">*** Perskanuok įtartinus failus<br>Failas bus perskanuotas naudojant 15 populiariausių antivirusinių</span></center>
';
closeside();
Virus scan
openside("Top Forumo Nariai");
$sql=dbquery("SELECT * FROM ".$db_prefix."users ORDER BY 'user_posts' DESC LIMIT 0, 5");
echo "<table width='auto' cellspacing='0' cellpadding='0'>";
$i=0;
while ($data=dbarray($sql)) {
echo "<tr>
<td align='left'>
<a href='".BASEDIR."profile.php?lookup=".$data ['user_id']."'>";
if(!empty($data['user_avatar']))
{
$avatar="<img src='".IMAGES."avatars/".$data['user_avatar']."' alt='".$data['user_name']."' width='50' height='50'>";}
else
{
$avatar="<img src='".IMAGES."noavatar.gif' alt='".$data['user_name']."' width='50' height='50'>";}
echo"$avatar</a></td>
<td align='left'><a href='".BASEDIR."profile.php?lookup=".$data['user_id']."'>".$data['user_name']."</a><br> - ".$data['user_posts']." Pranesimai</td></tr>";
$i++;
}
echo "</table>";
closeside();
Top forumo nariai
opensidex("Dienos info :","on" );
?><html>
<center></a></center><br>
<center>
<script type="text/javascript" src="http://day.lt/dienos_info?format=[metai] [menuo_txt_klm_vdid] [diena_nr2] [savaites_txt] [n][metu_diena] 'oji metų diena[n]Dienos šventė : [n][svente][n]Horoskopas : [n][horoskopas][n]"></script>Vardadienį švenčia :
<script type="text/javascript" src="http://day.lt/dienos_vardadieniai"></script>
</html>
<?
closesidex();
Dienos info
openside("Interneto radijos");
?>
<html>
<center><img src="(cia isidek paveiksliuka
www. .....)" alt="cia tavo paveiksliukas.gif" width=120 />
<br><a href='http://84.46.205.13:8000/ZIPFM.m3u' target='_blank'>Zip FM</a></br>
<br=1><a href='http://84.46.205.13:8000/RC.m3u' target='_blank'>Radio centras</a></br>
<br=1><a href='http://radija.tusas.lt:8000/listen.pls' target='_blank'>Tuso radijas</a></br=1>
<br><a href='http://radio.m-1.lt:8000/listen.pls' target='_blank'>M-1</a>
<br><a href='http://www.escradio.com/p
layer/player_settings.asp' target='_blank'>Eurovision radio</a></br>
<br=1><a href='http://84.32.38.13:8000/' target='_blank'>Ice FM</a></center></br=1>
</html>
<?
closeside();
Radijas
function parsesmileys($message) {
$smiley = array(
"#\:\)#si" => "<img src='".IMAGES."smiley/smile.gif' alt='smiley'>",
"#\;\)#si" => "<img src='".IMAGES."smiley/wink.gif' alt='smiley'>",
"#\:\(#si" => "<img src='".IMAGES."smiley/sad.gif' alt='smiley'>",
"#\:\|#si" => "<img src='".IMAGES."smiley/frown.gif' alt='smiley'>",
"#\:o#si" => "<img src='".IMAGES."smiley/shock.gif' alt='smiley'>",
"#\:p#si" => "<img src='".IMAGES."smiley/pfft.gif' alt='smiley'>",
"#b\)#si" => "<img src='".IMAGES."smiley/cool.gif' alt='smiley'>",
"#\:d#si" => "<img src='".IMAGES."smiley/grin.gif' alt='smiley'>",
"#\:@#si" => "<img src='".IMAGES."smiley/angry.gif' alt='smiley'>"
);
foreach($smiley as $key=>$smiley_img) $message = preg_replace($key, $smiley_img, $message);
return $message;
}
// Show smiley icons in comments, forum and other post pages
function displaysmileys($textarea) {
$smiles = "";
$smileys = array (
":)" => "smile.gif",
";)" => "wink.gif",
":|" => "frown.gif",
":(" => "sad.gif",
":o" => "shock.gif",
":p" => "pfft.gif",
"B)" => "cool.gif",
":D" => "grin.gif",
":@" => "angry.gif"
);
foreach($smileys as $key=>$smiley) $smiles .= "<img src='".IMAGES."smiley/$smiley' alt='smiley' onClick=\"insertText('$textarea', '$key');\">\n";
return $smiles;
}
Daugiau smailu. Redaguoti per ftp-maincore.php
<SCRIPT LANGUAGE="JavaScript1.2">
<!-- Begin
var no = 10; // snow number
var speed = 10; // smaller number moves the snow faster
var snowflake = "http://img138.imageshack.us/img138/4896/snowyt2.gif";
var ns4up = (document.layers) ? 1 : 0; // browser sniffer
var ie4up = (document.all) ? 1 : 0;
var dx, xp, yp; // coordinate and position variables
var am, stx, sty; // amplitude and step variables
var i, doc_width = 800, doc_height = 1600;
if (ns4up) {
doc_width = self.innerWidth;
doc_height = self.innerHeight;
} else if (ie4up) {
doc_width = document.body.clientWidth;
doc_height = document.body.clientHeight;
}
dx = new Array();
xp = new Array();
yp = new Array();
am = new Array();
stx = new Array();
sty = new Array();
for (i = 0; i < no; ++ i) {
dx[i] = 0; // set coordinate variables
xp[i] = Math.random()*(doc_width-50); // set position variables
yp[i] = Math.random()*doc_height;
am[i] = Math.random()*20; // set amplitude variables
stx[i] = 0.02 + Math.random()/10; // set step variables
sty[i] = 0.7 + Math.random(); // set step variables
if (ns4up) { // set layers
if (i == 0) {
document.write("<layer name=\"dot"+ i +"\" left=\"15\" ");
document.write(snowflake + "\" border=\"0\"></layer>");
} else {
document.write("<layer name=\"dot"+ i +"\" left=\"15\" ");
document.write(snowflake + "\" border=\"0\"></layer>");
}
} else if (ie4up) {
if (i == 0) {
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: ");
document.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: ");
document.write(snowflake + "\" border=\"0\"></div>");
} else {
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: ");
document.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: ");
document.write("visible; TOP: 15px; LEFT: 15px;\"><img src=\"");
document.write(snowflake + "\" border=\"0\"></div>");
}
}
}
function snowNS() { // Netscape main animation function
for (i = 0; i < no; ++ i) { // iterate for every dot
yp[i] += sty[i];
if (yp[i] > doc_height-50) {
xp[i] = Math.random()*(doc_width-am[i]-30);
yp[i] = 0;
stx[i] = 0.02 + Math.random()/10;
sty[i] = 0.7 + Math.random();
doc_width = self.innerWidth;
doc_height = self.innerHeight;
}
dx[i] += stx[i];
document.layers["dot"+i].top = yp[i];
document.layers["dot"+i].left = xp[i] + am[i]*Math.sin(dx[i]);
}
setTimeout("snowNS()", speed);
}
function snowIE() { // IE main animation function
for (i = 0; i < no; ++ i) { // iterate for every dot
yp[i] += sty[i];
if (yp[i] > doc_height-50) {
xp[i] = Math.random()*(doc_width-am[i]-30);
yp[i] = 0;
stx[i] = 0.02 + Math.random()/10;
sty[i] = 0.7 + Math.random();
doc_width = document.body.clientWidth;
doc_height = document.body.clientHeight;
}
dx[i] += stx[i];
document.all["dot"+i].style.pixelTop = yp[i];
document.all["dot"+i].style.pixelLeft = xp[i] + am[i]*Math.sin(dx[i]);
}
setTimeout("snowIE()", speed);
}
if (ns4up) {
snowNS();
} else if (ie4up) {
snowIE();
}
// End -->
</script>
Snaiges scriptas. dedi i subheader.php i pacia apacia
opensidex("Statistika saito",on);//galima nuleisti arba išskleisti paneliu
echo "<table border='0' align='left' cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
$result = dbquery("SELECT count(news_id) FROM ".$db_prefix."news");
echo "<tr><td width='90%'><img src='".THEME."images/bullet.gif'> <font class='side'><b>Naujienu:</b></td> <td>[".dbresult($result, 0)."]</td></tr>\n";
$result = dbquery("SELECT count(article_id) FROM ".$db_prefix."articles");
echo "<tr><td width='90%'><img src='".THEME."images/bullet.gif'> <font class='side'><b>Straipsniu:</b></td> <td>[".dbresult($result, 0)."]</td></tr>\n";
$result = dbquery("SELECT count(download_id) FROM ".$db_prefix."downloads");
echo "<tr><td width='90%'><img src='".THEME."images/bullet.gif'> <font class='side'><b>Failu:</b></td> <td>[".dbresult($result, 0)."]</td></tr>\n";
$result = dbquery("SELECT count(post_id) FROM ".$db_prefix."posts");
echo "<tr><td width='90%'><img src='".THEME."images/bullet.gif'> <font class='side'><b>Temu Forume:</b></td> <td>[".dbresult($result, 0)."]</td>\n";
$result = dbquery("SELECT count(photo_id) FROM ".$db_prefix."photos");
echo "<tr><td width='90%'><img src='".THEME."images/bullet.gif'> <font class='side'><b>Galerija:</b></td> <td>[".dbresult($result, 0)."]</td></tr>\n";
if (iADMIN) {
$result = dbquery("SELECT count(comment_id) FROM ".$db_prefix."comments");
echo "<tr><td width='90%'><img src='".THEME."images/bullet.gif'> <font class='side'><b>Komentaru:</b></td> <td>[".dbresult($result, 0)."]</td></tr>\n";
$result = dbquery("SELECT count(weblink_id) FROM ".$db_prefix."weblinks");
echo "<tr><td width='90%'><img src='".THEME."images/bullet.gif'> <font class='side'><b>Siuntimu:</b></td> <td>[".dbresult($result, 0)."]</td></tr>\n";
}
echo"</td>\n</tr>\n</table>\n";
closesidex();
Statistika
<script language="JavaScript1.2">
if (window.Event)
document.captureEvents(Event.MOUSEUP);
function nocontextmenu()
{
event.cancelBubble = true
event.returnValue = false;
return false;
}
function norightclick(e)
{
if (window.Event)
{
if (e.which == 2 || e.which == 3)
return false;
}
else
if (event.button == 2 || event.button == 3)
{
event.cancelBubble = true
event.returnValue = false;
return false;
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.oncontextmenu = nocontextmenu;
document.onmousedown = norightclick;
document.onmouseup = norightclick;
//-->
</script>
Neleidžia kopijuoti texto
<div id="content">
<br>
<div style="float: left; width: 145px; overflow: hidden;">
<div style="height: 60px; text-align: center;"><a href="tv.php?tv=k"><img src="http://www.zebra.lt/tv/images/lrt-logo2.gif" alt=""></a></div>
<div >
<?php
$index = file("http://www.zebra.lt/tv/");
echo $index[212];
?>
</div></div>
<div style="float: left; width: 145px; overflow: hidden;">
<div style="height: 60px; text-align: center;"><a href="tv.php?tv=3"><img src="http://www.zebra.lt/tv/images/lnk-logo.gif" alt=""></a></div>
<div >
<?php
$index = file("http://www.zebra.lt/tv/");
echo $index[206];
?>
</div></div>
<div style="float: left; width: 145px; overflow: hidden;">
<div style="height: 60px; text-align: center;"><a href="tv.php?tv=l"><img src="http://www.zebra.lt/tv/images/tv3-logo.gif" alt=""></a></div>
<div >
<?php
$index = file("http://www.zebra.lt/tv/");
echo $index[209];
?>
</div></div>
<div style="float: left; width: 145px; overflow: hidden;">
<div style="height: 60px; text-align: center;"><a href="tv.php?tv=b"><img src="http://www.zebra.lt/tv/images/btv-logo.gif" alt=""></a></div>
<div >
<?php
$index = file("http://www.zebra.lt/tv/");
echo $index[215];
?>
</div></div>
</div>
<div id="extra-nav">
<div class="skin-block" align="center">
</div></div></td>
TV programa deti i pridetiniai puslapiai
Redagavo 333· 2008 Kov. 5 10:03:00