Subversion Repositories general

Compare Revisions

No changes between revisions

Ignore whitespace Rev 1384 → Rev 1385

/asterisk-stats/trunk/telbook_categories_details.php
0,0 → 1,33
<?php
 
include_once('includes/common.php');
Prolog();
 
$id = $_GET['id'];
$category = array();
 
if($id) {
$db->query_params("select category_id, category_name, category_comment, category_export_key"
. " from telbook_categories"
. " where category_id=$1", array($id));
 
if($line = $db->fetch_row()) {
$category['CATEGORY_ID'] = $line['category_id'];
$category['CATEGORY_NAME'] = $line['category_name'];
$category['CATEGORY_COMMENT'] = $line['category_comment'];
$category['CATEGORY_EXPORT_KEY'] = $line['category_export_key'];
}
}
else {
$category['CATEGORY_ID'] = '';
$category['CATEGORY_NAME'] = '';
$category['CATEGORY_COMMENT'] = '';
$category['CATEGORY_EXPORT_KEY'] = '';
}
$g_display->add_variables($category);
 
$g_display->add_template('telbook_category_edit');
 
Epilog();
 
?>
Property changes:
Added: svn:mergeinfo