echo "</tr>\n";
 }
 if (!isset($_GET['panel_id']) || !isnum($_GET['panel_id'])) {
     echo "<tr>\n<td class='tbl'>" . $locale['457'] . "</td>\n";
     echo "<td class='tbl'><select name='panel_side' class='textbox' style='width:150px;' onchange=\"showopts(this.options[this.selectedIndex].value);\">\n";
     echo "<option value='1'" . ($panel_side == "1" ? " selected='selected'" : "") . ">" . $locale['420'] . "</option>\n";
     echo "<option value='2'" . ($panel_side == "2" ? " selected='selected'" : "") . ">" . $locale['421'] . "</option>\n";
     echo "<option value='3'" . ($panel_side == "3" ? " selected='selected'" : "") . ">" . $locale['425'] . "</option>\n";
     echo "<option value='4'" . ($panel_side == "4" ? " selected='selected'" : "") . ">" . $locale['422'] . "</option>\n";
     echo "</select></td>\n</tr>\n";
 }
 echo "<tr>\n<td class='tbl'>" . $locale['458'] . "</td>\n";
 echo "<td class='tbl'><select name='panel_access' class='textbox' style='width:150px;'>\n" . $access_opts . "</select></td>\n";
 echo "</tr>\n<tr>\n";
 echo "<tr>\n<td class='tbl'>";
 echo info_helper("panel_editor", true);
 // Pimped
 echo "</td>\n";
 echo "<td class='tbl'>\n";
 echo "<div id='panelopts'" . $panelopts . "><input type='checkbox' id='panel_display' name='panel_display' value='1'" . $panelon . " /> " . $locale['459'] . "</div>\n";
 echo "<br />\n";
 if (isset($_GET['panel_id']) && isnum($_GET['panel_id'])) {
     if ($panel_type == "php") {
         echo "<input type='hidden' name='panel_filename' value='none' />\n";
     }
     echo "<input type='hidden' name='panel_side' value='" . $panel_side . "' />\n";
 }
 echo "<input type='submit' name='preview' value='" . $locale['460'] . "' class='button' />\n";
 echo "<input type='submit' name='save' value='" . $locale['461'] . "' class='button' /></td>\n";
 echo "</tr>\n</table>\n</form>\n";
 closetable();
Exemplo n.º 2
0
     // Pimped
     $opts = make_admin_language_opts($link_language);
     // Pimped
     echo "<td class='tbl'><select name='link_language' class='textbox' style='width:200px;'>\n" . $opts . "</select></td>\n";
     // Pimped
     echo "</tr>\n<tr>\n";
     // Pimped
 }
 // Pimped
 echo "<td valign='top' class='tbl'>" . $locale['424'] . "</td>\n";
 echo "<td class='tbl'><label><input type='radio' name='link_position' value='1'" . $pos1_check . " /> " . $locale['425'] . "</label><br />\n";
 echo "<label><input type='radio' name='link_position' value='2'" . $pos2_check . " /> " . $locale['426'] . "</label><br />\n";
 echo "<label><input type='radio' name='link_position' value='3'" . $pos3_check . " /> " . $locale['427'] . "</label><hr />\n";
 echo "<label><input type='checkbox' name='link_window' value='1'" . $window_check . " /> " . $locale['428'] . "</label></td>\n";
 echo "</tr>\n<tr>\n";
 echo "<td valign='top' class='tbl'>" . info_helper("site_links") . "</td><td class='tbl'>";
 echo "<input type='submit' name='savelink' value='" . $locale['429'] . "' class='button' /></td>\n";
 echo "</tr>\n</table>\n</form>\n";
 closetable();
 opentable($locale['402']);
 echo "<table cellpadding='0' cellspacing='1' width='450' class='tbl-border center'>\n<tr>\n";
 echo "<td class='tbl2'><strong>" . $locale['440'] . "</strong></td>\n";
 echo "<td align='center' width='1%' class='tbl2' style='white-space:nowrap'><strong>" . $locale['441'] . "</strong></td>\n";
 if (IF_MULTI_LANGUAGE) {
     echo "<td align='center' width='1%' class='tbl2' style='white-space:nowrap'><strong>" . $locale['432'] . "</strong></td>\n";
 }
 // Pimped
 echo "<td align='center' colspan='2' width='1%' class='tbl2' style='white-space:nowrap'><strong>" . $locale['442'] . "</strong></td>\n";
 echo "<td align='center' width='1%' class='tbl2' style='white-space:nowrap'><strong>" . $locale['447'] . "</strong></td>\n";
 // Pimped
 echo "<td align='center' width='1%' class='tbl2' style='white-space:nowrap'><strong>" . $locale['443'] . "</strong></td>\n";
    echo "<tr>\n";
    echo "<td width='50%' class='tbl'><label for='welcome_pm'>" . $locale['welpm102'] . ":</label></td>\n";
    echo "<td width='50%' class='tbl'>\r\n<select name='welcome_pm' class='textbox' id='welcome_pm'>\n\r\n<option value='0'" . ($settings['welcome_pm'] == 0 ? " selected='selected'" : "") . ">" . $locale['welpm104'] . "</option>\n\r\n<option value='1'" . ($settings['welcome_pm'] == 1 ? " selected='selected'" : "") . ">" . $locale['welpm103'] . "</option>\n\r\n</select>\n\r\n</td>\n";
    echo "</tr>\n";
    echo "<tr>\n";
    echo "<td width='50%' class='tbl'><label for='welcome_pm_from'>" . $locale['welpm105'] . ":</label></td>\n";
    echo "<td width='50%' class='tbl'>" . $opt . "</td>\n";
    echo "</tr>\n";
    echo "<tr>\n";
    echo "<td width='50%' class='tbl'><label for='welcome_pm_subject'>" . $locale['welpm110'] . ":</label></td>\n";
    echo "<td width='50%' class='tbl'><input type='text' name='welcome_pm_subject' id='welcome_pm_subject' value='" . $settings['welcome_pm_subject'] . "' class='textbox' style='width: 250px;' /></td>\n";
    echo "</tr>\n";
    echo "<tr>\n";
    echo "<td width='50%' class='tbl' valign='top'><label for='welcome_pm_message'>" . $locale['welpm111'] . ":</label></td>\n";
    echo "<td width='50%' class='tbl'>\n";
    echo "<textarea name='welcome_pm_message' id='welcome_pm_message' class='textbox' rows='8' cols='55'>" . $settings['welcome_pm_message'] . "</textarea><br />\n";
    echo display_bbcodes("98%", "welcome_pm_message", "settingsform");
    echo "</td>\n";
    echo "</tr>\n";
    echo "<tr>\n";
    echo "<td align='center' colspan='2' class='tbl'><label>\r\n<input type='checkbox' name='welcome_pm_smiley' value='n'" . ($settings['welcome_pm_smiley'] == "n" ? " checked='checked'" : "") . " />" . $locale['welpm112'] . "</label></td>\n";
    echo "</tr>\n";
    echo "<tr>\n";
    echo "<td width='50%' class='tbl'>" . info_helper("welcome_message") . "</td>";
    echo "<td width='50%' class='tbl'><input type='submit' name='savesettings' value='" . $locale['750'] . "' class='button' /></td>\n";
    echo "</tr>\n";
    echo "</table>\n";
    echo "</form>\n";
    closetable();
}
require_once TEMPLATES . "footer.php";