Esempio n. 1
0
    print CBlanks::getListBlanks();
    ?>

	<input type="hidden" name="debug" value="<?php 
    echo htmlspecialcharsbx($_REQUEST["debug"]);
    ?>
">
	<input type="hidden" name="lang" value="<?php 
    echo LANGUAGE_ID;
    ?>
">

<?php 
    $tabControl->End();
} else {
    $blank = CBlanks::getBlank($_GET["slug"]);
    if (!empty($blank)) {
        ?>
		<form method="POST" action="pbrf_templates.php?lang=<?php 
        echo LANGUAGE_ID;
        echo $_GET["return_url"] ? "&amp;return_url=" . urlencode($_GET["return_url"]) : "";
        echo $_GET["slug"] ? "&amp;slug=" . urlencode($_GET["slug"]) : "";
        ?>
" enctype="multipart/form-data" name="editform">
<?php 
        $aTabs = array(array("DIV" => $blank["slug"], "TAB" => $blank["name"], "ICON" => "main_user_edit", "TITLE" => $blank["name"]));
        $tabControl = new CAdminTabControl("tabControl", $aTabs, true, true);
        $tabControl->Begin();
        $tabControl->BeginNextTab();
        $data = array();
        if ($_SERVER["REQUEST_METHOD"] == "POST" && (isset($_POST["save"]) || isset($_POST["apply"]))) {
Esempio n. 2
0
		<td width="40%">
			<label for="zip"><?php 
    echo GetMessage("PBRF_ZIP");
    ?>
:</label>
		</td>
		<td width="60%">
			<input id="zip" type="text" name="zip" value="<?php 
    echo $zip;
    ?>
" size="15">
		</td>
	</tr>
<?php 
    $tabControl->BeginNextTab();
    $blanks = CBlanks::getAllBlanks();
    ?>
	<table class="adm-list-table">
		<thead>
			<tr class="adm-list-table-header">
				<td class="adm-list-table-cell">
					<div class="adm-list-table-cell-inner"><?php 
    echo GetMessage("PBRF_NAME_BLANK");
    ?>
</div>
				</td>
				<td class="adm-list-table-cell">
					<div class="adm-list-table-cell-inner"><?php 
    echo GetMessage("PBRF_URL_BLANK");
    ?>
</div>