Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: one.lt reklama

Parašė Poker· 2008 Bal. 20 19:04:33
#24

Manjack,gal gali padet iterp ta koda,nes aš net neisivaizduoju kaip padaryt:|

Mano subheader

<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2006 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location: index.php"); exit; }

require_once THEME."theme.php";

if ($settings['maintenance'] == "1" && !iADMIN) fallback(BASEDIR."maintenance.php");
if (iMEMBER) $result = dbquery("UPDATE ".$db_prefix."users SET user_lastvisit='".time()."', user_ip='".USER_IP."' WHERE user_id='".$userdata['user_id']."'");



echo "<div id='infobar'><a href='http://www.thegtaplace.lt'>WTB Halisha+16 L2-Gold</a></div>
<style>
#infobar a {
top: 0;
left: 0;
display: block;
width: 100%;
position: fixed;
height: 20px;
line-height: 16px;
font-family: Arial Black;
font-size: 12px;
text-decoration: none;
color: white;
background-color: #473737;
border-bottom: 3px solid #473737;
text-align: center;
}
#infobar a:hover {
color: black;
}
</style>
<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">
<html>
<head>
<link rel='shortcut icon' href='".BASEDIR."favicon.ico'>
<!–[if lt IE 7.]>
<script defer type=”text/javascript” src=”pngfix.js”></script>
<![endif]–>
<title>".$seo_tags['title'].$settings['sitename']."</title>
<meta http-equiv='Content-Type' content='text/html; charset=".$locale['charset']."'>
<meta name='description' content='";

if ($seo_tags['description']) {
echo $seo_tags['description'];
} else {
echo $settings['description'];
}

echo "'>
<meta name='keywords' content='";

if ($seo_tags['keywords']) {
echo $seo_tags['keywords'];
} else {
echo $settings['keywords'];
}

echo "'>";


echo "<link rel='stylesheet' href='".THEME."styles.css' type='text/css'>
<script type='text/javascript' src='".INCLUDES."jscript.js'></script>
</head>
<body bgcolor='$body_bg' text='$body_text'>\n";

render_header("<img src='".BASEDIR.$settings['sitebanner']."' alt='".$settings['sitename']."' title='".$settings['sitename']."'>");
?>





Tavo siulomas kodas:

$text = array("Jusu tekstas.","Jusu tekstas","Jusu tekstas");
#
$cc = count($text) ;
#
$cl = $cc-1;
#
$rand = rand(0,$cl);
#
echo"$text[$rand]";





gal ir naglokai atrodau,bet pačiam nesiseka,o diena jau eina y pabaiga rezultato ner :|