コード例 #1
0
// Run the form with tabs
$tabs = new Tabs("easyshop_preferences");
$tabs->start(EASYSHOP_GENPREF_01);
echo $text1;
// Shop contact info
$tabs->end();
$tabs->start(EASYSHOP_GENPREF_44);
echo $text2;
// Settings
$tabs->end();
$tabs->start(EASYSHOP_GENPREF_14);
echo $text3;
// PayPal Info
$tabs->end();
if ($enable_ipn == '2') {
    $tabs->start(EASYSHOP_GENPREF_94);
    echo $text4;
    // Monitor Info
    $tabs->end();
}
$tabs->start(EASYSHOP_GENPREF_97);
echo $text5;
// Presentation settings
$tabs->end();
$text .= $tabs->run();
// Close the form with 'Apply Changes' button
$text .= "\n  <br />\n  <center>\n  \t<input type='hidden' name='edit_preferences' value='1' />\n  \t<input class='button' type='submit' value='" . EASYSHOP_GENPREF_28 . "' />\n  </center>\n  <br />\n  </form>";
// Render the value of $text in a table.
$title = EASYSHOP_GENPREF_00;
$ns->tablerender($title, $text);
require_once e_ADMIN . 'footer.php';