Hello,
Please you help?
test.php
PHP Code:
<?php
// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);
// #################### DEFINE IMPORTANT CONSTANTS #######################
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'test'); // change this depending on your filename
// ################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array(
);
// get special data templates from the datastore
$specialtemplates = array(
);
// pre-cache templates used by all actions
$globaltemplates = array(
'test',
);
// pre-cache templates used by specific actions
$actiontemplates = array(
);
// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
// #######################################################################
// ######################## START MAIN SCRIPT ############################
// #######################################################################
$navbits = array();
$navbits[$parent] = 'Test Page';
$navbits = construct_navbits($navbits);
$sorgula= mysql_query("SELECT * FROM telefon_listesi ORDER BY telefon_id DESC");
{
while($tel_list_al=mysql_fetch_object($sorgula))
$satirlar = '</tr><tr><td class="alt1">'.$tel_list_al->telefon_sahibi_adi.' '.$tel_list_al->telefon_sahibi_soyadi.' </td><td class="alt1">'.$tel_list_al->cep_tel_kodu.' '.$tel_list_al->cep_tel_numara.' </td><td class="alt1">'.$tel_list_al->ev_tel_kodu.' '.$tel_list_al->ev_tel_numara.' </td><td class="alt1">'.$tel_list_al->is_tel_kodu.' '.$tel_list_al->is_tel_numara.' </td><td class="alt1">'.$tel_list_al->aciklama.' </td><td class="alt1">'.$tel_list_al->kullanici_adi.' </td>';
}
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('test') . '");');
?>
test template
PHP Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[bbtitle]</title>
$headinclude
</head>
<body>
$header
$navbar
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td width="135" class="thead">Adı Soyadı</td>
<td width="120" class="thead">Cep Telefon</td>
<td width="120" class="thead">Ev Telefon</td>
<td width="120" class="thead">İş Telefon</td>
<td width="350" class="thead">A?ıklama</td>
<td width="129" class="thead">Ekleyen</td>
$satirlar
</table>
$footer
</body>
</html>
Problem:
No Listed
Results: 1
Existing records: 85
Why does not list?
Screen results
Attachment 95557
Thanks