program.php?no=1
diyince başka birsayfaya
program.php?no=2
diyince de başka bir sayfaya gidiyor ama aynı dosya bunu nasıl yaparım
lütfen yardım ediniz.
Burak TUNGUT
Saygılarımla



Kod: Tümünü seç
<?
error_reporting (E_ALL);
include_once ("library/dblayer.php") ;
include_once ("library/session.php") ;
include_once ("library/template.php") ;
global $dbi ;
if ($opcode == "") $main = new clsTemplate("template/index.html") ;
else $main = new clsTemplate("template/index1.html") ;
if (isset($opcode)) {
if ($opcode == "hakkinda") {
include_once ("hakkinda.php") ;
$hakkinda = new clsHakkinda() ;
$main->key("%BODY%",$hakkinda->html()) ;
}
} else {
$welcome = new clsTemplate("template/welcome.html") ;
$main->key("%BODY%",$welcome->html()) ;
}
print $main->html() ;
sql_logout($cn) ;
?>