optimize(C_MSG_TBL); $DbLink->optimize(C_USR_TBL); $DbLink->optimize(C_REG_TBL); $DbLink->optimize(C_BAN_TBL); }; if ($sheet < 3) { // Inverse sort order if (!isset($sortBy)) $sortBy = "username"; if (!isset($sortOrder)) $sortOrder = "ASC"; $New_sortOrder = ($sortOrder == "ASC") ? "DESC" : "ASC"; // Define the lower bound to be displayed for registered users table if (!isset($startReg)) $startReg = "0"; }; // Remove some var from the url query $URLQueryBody = "What=Body&L=$L&sheet=$sheet"; if ($sheet < 3) { $URLQueryBody_Links = "From=$From&".$URLQueryBody."&user=".urlencode($user)."&pswd=$pswd"; $URLQueryBody_SortLinks = $URLQueryBody_Links."&startReg=$startReg"; $URLQueryBody_MoveLinks = $URLQueryBody_Links."&sortBy=$sortBy&sortOrder=$sortOrder"; }; // Horizontal alignement for cells topic and gifs names if ($Charset == "windows-1256") // Arabic { $CellAlign = "RIGHT"; $InvCellAlign = "LEFT"; $BeginGif = "end.gif"; $DownGif = "up.gif"; $EndGif = "begin.gif"; $UpGif = "down.gif"; } else { $CellAlign = "LEFT"; $InvCellAlign = "RIGHT"; $BeginGif = "begin.gif"; $DownGif = "down.gif"; $EndGif = "end.gif"; $UpGif = "up.gif"; }; ?> ">