='".$data['panel_order']."'"); redirect(FUSION_SELF.$aidlink); } if ($step == "setstatus") { $result = dbquery("UPDATE ".$db_prefix."panels SET panel_status='$status' WHERE panel_id='$panel_id'"); } if ($step == "mup") { $data = dbarray(dbquery("SELECT * FROM ".$db_prefix."panels WHERE panel_side='$panel_side' AND panel_order='$order'")); $result = dbquery("UPDATE ".$db_prefix."panels SET panel_order=panel_order+1 WHERE panel_id='".$data['panel_id']."'"); $result = dbquery("UPDATE ".$db_prefix."panels SET panel_order=panel_order-1 WHERE panel_id='$panel_id'"); redirect(FUSION_SELF.$aidlink); } if ($step == "mdown") { $data = dbarray(dbquery("SELECT * FROM ".$db_prefix."panels WHERE panel_side='$panel_side' AND panel_order='$order'")); $result = dbquery("UPDATE ".$db_prefix."panels SET panel_order=panel_order-1 WHERE panel_id='".$data['panel_id']."'"); $result = dbquery("UPDATE ".$db_prefix."panels SET panel_order=panel_order+1 WHERE panel_id='$panel_id'"); redirect(FUSION_SELF.$aidlink); } if ($step == "mleft") { $result = dbquery("SELECT * FROM ".$db_prefix."panels WHERE panel_side='1' ORDER BY panel_order DESC LIMIT 1"); if (dbrows($result) != 0) { $data = dbarray($result); $neworder = $data['panel_order'] + 1; } else { $neworder = 1; } $result = dbquery("UPDATE ".$db_prefix."panels SET panel_side='1', panel_order='$neworder' WHERE panel_id='$panel_id'"); $result = dbquery("UPDATE ".$db_prefix."panels SET panel_order=panel_order-1 WHERE panel_side='4' AND panel_order>='$order'"); redirect(FUSION_SELF.$aidlink); } if ($step == "mright") { $result = dbquery("SELECT * FROM ".$db_prefix."panels WHERE panel_side='4' ORDER BY panel_order DESC LIMIT 1"); if (dbrows($result) != 0) { $data = dbarray($result); $neworder = $data['panel_order'] + 1; } else { $neworder = 1; } $result = dbquery("UPDATE ".$db_prefix."panels SET panel_side='4', panel_order='$neworder' WHERE panel_id='$panel_id'"); $result = dbquery("UPDATE ".$db_prefix."panels SET panel_order=panel_order-1 WHERE panel_side='1' AND panel_order>='$order'"); redirect(FUSION_SELF.$aidlink); } if ($step == "mupper") { $result = dbquery("SELECT * FROM ".$db_prefix."panels WHERE panel_side='2' ORDER BY panel_order DESC LIMIT 1"); if (dbrows($result) != 0) { $data = dbarray($result); $neworder = $data['panel_order'] + 1; } else { $neworder = 1; } $result = dbquery("UPDATE ".$db_prefix."panels SET panel_side='2', panel_order='$neworder' WHERE panel_id='$panel_id'"); $result = dbquery("UPDATE ".$db_prefix."panels SET panel_order=panel_order-1 WHERE panel_side='3' AND panel_order>='$order'"); redirect(FUSION_SELF.$aidlink); } if ($step == "mlower") { $result = dbquery("SELECT * FROM ".$db_prefix."panels WHERE panel_side='3' ORDER BY panel_order DESC LIMIT 1"); if (dbrows($result) != 0) { $data = dbarray($result); $neworder = $data['panel_order'] + 1; } else { $neworder = 1; } $result = dbquery("UPDATE ".$db_prefix."panels SET panel_side='3', panel_order='$neworder' WHERE panel_id='$panel_id'"); $result = dbquery("UPDATE ".$db_prefix."panels SET panel_order=panel_order-1 WHERE panel_side='2' AND panel_order>='$order'"); redirect(FUSION_SELF.$aidlink); } opentable($locale['400']); tablebreak(); echo "
".$locale['401']." | ".$locale['402']." | ".$locale['403']." | ".$locale['404']." | ".$locale['405']." | ".$locale['406']." | |
".$data['panel_name']." | \n"; echo ""; if ($data['panel_side'] == 1) { echo $locale['420']; } elseif ($data['panel_side'] == 2) { echo $locale['421']; } elseif ($data['panel_side'] == 3) { echo $locale['425']; } elseif ($data['panel_side'] == 4) { echo $locale['422']; } echo " | \n"; if ($data['panel_side'] == 1) { echo ""; } elseif ($data['panel_side'] == 2) { echo ""; } elseif ($data['panel_side'] == 3) { echo ""; } elseif ($data['panel_side'] == 4) { echo ""; } echo " | \n".$data['panel_order']."$up_down | \n"; echo "".($data['panel_type'] == "file" ? $locale['423'] : $locale['424'])." | \n"; echo "".getgroupname($data['panel_access'])." | \n"; echo "\n"; echo "[".$locale['434']."]\n"; if ($data['panel_status'] == 0) { echo "[".$locale['435']."]\n"; } else { echo "[".$locale['436']."]\n"; } echo "[".$locale['437']."]\n"; echo " | \n
[ ".$locale['438']." ]\n"; echo "[ ".$locale['439']." ] | \n