<?php
$result = dbquery("ALTER TABLE ".$db_prefix."panels ADD panel_display TINYINT(1) UNSIGNED DEFAULT '0' NOT NULL AFTER panel_access");
echo "panel_display added";
?>
<?php
$result = mysql_query("SHOW COLUMNS FROM {$db_prefix}panels");
if (mysql_num_rows($result) > 0) {
echo "<table class='tbl-border'>\n<td colspan='2'><b>Panels Table Scheme</b></td>\n";
while ($row = mysql_fetch_array($result)) {
echo "<tr><td class='tbl1'>".$row[0]."</td><td class='tbl2'>".$row[1]."</td></tr>\n";
}
echo "</table>\n";
}
?>
Panels Table Scheme
panel_id smallint(5) unsigned
panel_name varchar(100)
panel_filename varchar(100)
panel_content text
panel_side tinyint(1) unsigned
panel_order smallint(5) unsigned
panel_type varchar(20)
panel_access tinyint(3) unsigned
panel_display tinyint(1) unsigned
panel_status tinyint(1) unsigned
Quote
Digitanium wrote:
v303 yes? i think you need to reupload admin/panels.php
Category Forum
Bugs and Errors - 6Labels
None yet
Statistics
0 participants
Notifications
You are not receiving notifications from this thread.
Related Questions