array_unshift($sponsors, array('sponsor_id' => '', 'name' => ''));
    echo OptionTagsAdv($sponsors, $gallery['sponsor_id'], 'sponsor_id', 'name', 40);
    ?>
</select>
<?php 
}
?>

<span style="padding-left: 30px; font-weight: bold">
<?php 
echo CheckBox('allow_scan', 'checkbox', '1', $gallery['allow_scan']);
?>
 <label for="allow_scan" class="plain-label">Scan</label>
&nbsp;
<?php 
echo CheckBox('allow_preview', 'checkbox', '1', $gallery['allow_preview']);
?>
 <label for="allow_preview" class="plain-label">Thumb</label>
</span>
</td>
<td align="right" width="70" class="bold">
Format
</td>
<td>
<select name="format">
<?php 
$formats = array('pictures' => 'Pictures', 'movies' => 'Movies');
echo OptionTags($formats, $gallery['format']);
?>
</select>
</td>
示例#2
0
?>
" class="calendarSelectDate" />
        </div>

        <div class="fieldgroup">
            <label class="lesspad"></label>
            <label for="recip_required" class="cblabel inline"><?php 
echo CheckBox('recip_required', 'checkbox', 1, $_REQUEST['recip_required']);
?>
 Require a reciprocal link</label>
        </div>

        <div class="fieldgroup">
            <label class="lesspad"></label>
            <label for="allow_redirect" class="cblabel inline"><?php 
echo CheckBox('allow_redirect', 'checkbox', 1, $_REQUEST['allow_redirect']);
?>
 Allow URL redirection</label>
        </div>
        </fieldset>

      <?php 
$result = $DB->Query('SELECT * FROM lx_user_field_defs ORDER BY field_id');
?>
      <fieldset<?php 
if ($DB->NumRows($result) < 1) {
    echo ' style="display: none;"';
}
?>
>
        <legend>User Defined Fields</legend>
示例#3
0
    saveCfg($_POST['savecfg'], $stream_config);
} elseif ($act == 'settings') {
    /*===========================
      Настройки модуля
      ===========================*/
    echoheader("<i class=\"icon-cog\"></i> Страница настройки модуля", "Можете настроить модуль Stream-Info на ваш выбор");
    echomenu();
    opentable("Настройка модуля");
    echo <<<HTML
    <form action="" method="POST">
    <div class="box-content">
    <table class="table table-normal">
HTML;
    showRow("<b>Включить модуль?</b>", "Данная опция позволит показывать стримы на сайте.", CheckBox('savecfg[allow_stream]', "{$stream_config['allow_stream']}"));
    showRow("<b>Выводить плеер в краткой информации о трансляции?</b>", "<span style=\"color:red;\">Внимание! Использование этой функции нагружает браузер.</span>", CheckBox('savecfg[showplayer]', "{$stream_config['showplayer']}"));
    showRow("<b>Включить кэширование списка трансляций?</b>", "Заметно ускоряет вывод списка трансляций.", CheckBox('savecfg[cache_allow]', "{$stream_config['cache_allow']}"));
    showRow("Время жизни кэша", "В минутах (60/120/180/etc)", "<input type=\"text\" style=\"width:100%;\" name=\"savecfg[cachelife]\" value=\"{$stream_config['cachelife']}\" size=\"25\">");
    showRow("Количество трансляций на главной", "Укажите количество трансляций в блоке '{stream-info}'.", "<input type=\"text\" style=\"width:100%;\" name=\"savecfg[blocklimit]\" value=\"{$stream_config['blocklimit']}\" size=\"25\">");
    showRow("Ширина плеера", "В пикселях.", "<input type=\"text\" style=\"width:100%;\" name=\"savecfg[width]\" value=\"{$stream_config['width']}\" size=\"25\">");
    showRow("Высота плеера", "В пикселях.", "<input type=\"text\" style=\"width:100%;\" name=\"savecfg[height]\" value=\"{$stream_config['height']}\" size=\"25\">");
    showRow("Статус онлайн", "Сообщение для вывода статуса.", "<input type=\"text\" style=\"width:100%;\" name=\"savecfg[online]\" value=\"{$stream_config['online']}\" size=\"25\">");
    showRow("Статус оффлайн", "Сообщение для вывода статуса.", "<input type=\"text\" style=\"width:100%;\" name=\"savecfg[offline]\" value=\"{$stream_config['offline']}\" size=\"25\">");
    showRow("Заглушка для плеера", "Если трансляция оффлайн, показывается заглушка (используйте BB-коды).", "<input type=\"text\" style=\"width:100%;\" name=\"savecfg[zagluska]\" value=\"{$stream_config['zagluska']}\" size=\"25\">");
    showRow("Название (Тайтл) модуля", "Тайтл модуля который будет отображаться в браузере", "<input type=\"text\" style=\"width:100%;\" name=\"savecfg[stream_title]\" value=\"{$stream_config['stream_title']}\" size=\"25\">");
    showRow("Описание (Description) модуля", "Краткое описание, не более 200 символов.", "<input type=\"text\" style=\"width:100%;\" name=\"savecfg[stream_desc]\" value=\"{$stream_config['stream_desc']}\" size=\"25\">");
    showRow("Ключевые слова (Keywords) для модуля", "Введите через запятую основные ключевые слова.", "<input type=\"text\" style=\"width:100%;\" name=\"savecfg[stream_keywords]\" value=\"{$stream_config['stream_keywords']}\" size=\"25\">");
    showRow("", "", "<input type=\"hidden\" name=\"action\" value=\"savesettings\">", false);
    showRow("<input type=\"submit\" class=\"btn btn-success\" value=\"Сохранить настройки\">");
    echo <<<HTML
    </table>
    </div>
示例#4
0
            <label></label>
            <div style="float: left; width: 500px; padding-bottom: 5px;">
            <label for="on_submit" class="cblabel"><?php 
echo CheckBox('on_submit', 'checkbox', 1, $_REQUEST['on_submit']);
?>
 Display on link submission form</label>
            <label for="on_edit" class="cblabel"><?php 
echo CheckBox('on_edit', 'checkbox', 1, $_REQUEST['on_edit']);
?>
 Display on link editing form</label>
            <label for="on_details" class="cblabel"><?php 
echo CheckBox('on_details', 'checkbox', 1, $_REQUEST['on_details']);
?>
 Display on site details page</label>
            <label for="required" class="cblabel"><?php 
echo CheckBox('required', 'checkbox', 1, $_REQUEST['required']);
?>
 Field is required for submission</label>
            </div>
        </div>

        </fieldset>

    <div class="centered margin-top">
      <button type="submit"><?php 
echo $editing ? 'Update' : 'Add';
?>
 Link Field</button>
    </div>

    <input type="hidden" name="field_id" value="<?php 
示例#5
0
        <fieldset>
          <legend>General Settings</legend>

        <div class="fieldgroup">
            <label for="identifier">Identifier:</label>
            <input type="text" name="identifier" id="identifier" size="60" value="<?php 
echo $_REQUEST['identifier'];
?>
" />
        </div>

        <div class="fieldgroup">
            <label></label>
            <label for="regex" class="cblabel inline"><?php 
echo CheckBox('regex', 'checkbox', 1, $_REQUEST['regex']);
?>
 Regular expression</label>
        </div>

        <div class="fieldgroup">
            <label for="code">Link Code:</label>
            <textarea type="text" name="code" id="code" rows="5" cols="80"><?php 
echo $_REQUEST['code'];
?>
</textarea>
        </div>

        </fieldset>

    <div class="centered margin-top">
          </div>

          <div class="fieldgroup">
            <label class="lesspad"></label>
            <label for="process_rebuild" class="cblabel inline">
            <?php 
echo CheckBox('process_rebuild', 'checkbox', 1, $_REQUEST['process_rebuild']);
?>
 Rebuild the TGP pages when the scanner is completed</label>
          </div>

          <div class="fieldgroup">
            <label class="lesspad"></label>
            <label for="process_emailadmin" class="cblabel inline">
            <?php 
echo CheckBox('process_emailadmin', 'checkbox', 1, $_REQUEST['process_emailadmin']);
?>
 Send an e-mail to administrators when the scanner is completed</label>
          </div>

        </fieldset>

        <fieldset>
          <legend>Actions</legend>

          <div class="fieldgroup">
          <label style="width: 250px;">Connection errors:</label>
          <select name="action_connect">
          <?php 
$actions = array('0x00000000' => 'Ignore', '0x00000001' => 'Display in report only', '0x00000002' => 'Change gallery status to disabled', '0x00000004' => 'Delete gallery from database', '0x00000008' => 'Delete gallery and blacklist');
echo OptionTags($actions, $_REQUEST['action_connect']);
            Require verification code on gallery submission form for partner submitters</label>
        </div>
        
        <div class="fieldgroup">
            <label class="lesspad"></label>
            <label for="request_captcha" class="cblabel inline"><?php 
echo CheckBox('request_captcha', 'checkbox', 1, $C['request_captcha']);
?>
 
            Require verification code on partner account request form</label>
        </div>
        
        <div class="fieldgroup">
            <label class="lesspad"></label>
            <label for="report_captcha" class="cblabel inline"><?php 
echo CheckBox('report_captcha', 'checkbox', 1, $C['report_captcha']);
?>
 
            Require verification code on bad gallery reporting form</label>
        </div>
      </fieldset>
      
    <div class="centered margin-top">
      <button type="submit">Save Settings</button>
    </div>
    
    <input type="hidden" name="r" value="txGeneralSettingsSave">
    </form>
</div>

示例#8
0
            
            <div class="fieldgroup">
                <label></label>
                <label for="download_banners" class="cblabel inline">
                <?php 
echo CheckBox('download_banners', 'checkbox', 1, $_REQUEST['download_banners']);
?>
 Download banners to check height, width, and filesize
                </label>
            </div>
            
            <div class="fieldgroup">
                <label></label>
                <label for="host_banners" class="cblabel inline">
                <?php 
echo CheckBox('host_banners', 'checkbox', 1, $_REQUEST['host_banners']);
?>
 Host member account banners from your server
                </label>
            </div>
        </fieldset>
        
        
        <?php 
if ($editing) {
    ?>
        <fieldset>
          <legend>Bulk Edit Options</legend>          
            <div class="fieldgroup">
              <label></label>
              <input type="checkbox" class="checkbox" name="apply_all" id="apply_all" value="1"> 
示例#9
0
echo CheckBox('disabled', 'checkbox', 1, $_REQUEST['disabled']);
?>
 Disabled</label>
        </div>

        <?php 
foreach ($icons as $icon) {
    ?>
          <div class="fieldgroup">
            <label class="lesspad"></label>
            <label for="icons[<?php 
    echo $icon['icon_id'];
    ?>
]" class="cblabel inline">
            <?php 
    echo CheckBox("icons[{$icon['icon_id']}]", 'checkbox', $icon['icon_id'], $_REQUEST['icons'][$icon['icon_id']]) . " " . $icon['icon_html'];
    ?>
</label>
          </div>
        <?php 
}
?>
      </fieldset>


      <fieldset>
        <legend>Click Tracking Data</legend>

        <div class="fieldgroup">
            <label for="return_percent">Return Percent:</label>
            <input type="text" name="return_percent" id="return_percent" size="10" value="<?php 
function addpermchecked($param1)
{
    global $wgScriptPath;
    $tableEntry = '<tr id="' . $param1 . '" onmousedown="document.getElementById(\'' . $param1 . '\').style.background = \'grey\';" onmouseup="document.getElementById(\'' . $param1 . '\').style.background = \'lightgrey\'" onmouseover="document.getElementById(\'' . $param1 . '\').style.background = \'lightgrey\'" onmouseout="document.getElementById(\'' . $param1 . '\').style.background = \'white\'">
	<td>' . $param1 . '</td>
	<td><!--<input id="CB' . $param1 . '" type="checkbox" checked="true"/>-->' . CheckBox('CHK' . $param1, true) . '</td>
	<td style="width:18px;text-align:center;vertical-align:middle"><img title="Remove Permission" id="PiC' . $param1 . '" src="' . $wgScriptPath . '/extensions/GroupPermissions/images/deleteT.png" height="16" width="16" onclick="removeitem(\'' . $param1 . '\');" onmouseover="document.getElementById(\'PiC' . $param1 . '\').setAttribute(\'width\',\'18\');document.getElementById(\'PiC' . $param1 . '\').setAttribute(\'height\',\'18\');" onmouseout="document.getElementById(\'PiC' . $param1 . '\').setAttribute(\'width\',\'16\'); document.getElementById(\'PiC' . $param1 . '\').setAttribute(\'height\',\'16\');" /></td>
	<td style="width:18px;text-align:center;vertical-align:middle"><img title="Display Description" id="HlP' . $param1 . '" src="' . $wgScriptPath . '/extensions/GroupPermissions/images/help.png" height="16" width="16" onclick="togglevisibility(\'HLP' . $param1 . '\');" onmouseover="document.getElementById(\'HlP' . $param1 . '\').setAttribute(\'width\',\'18\');document.getElementById(\'HlP' . $param1 . '\').setAttribute(\'height\',\'18\');" onmouseout="document.getElementById(\'HlP' . $param1 . '\').setAttribute(\'width\',\'16\'); document.getElementById(\'HlP' . $param1 . '\').setAttribute(\'height\',\'16\');" /></td></tr>
	<tr><td colspan="4"><div id="HLP' . $param1 . '" style="display:none;border:black solid 1px">' . permissiondescription($param1, 0) . '</div></td></tr>';
    return $tableEntry;
}
示例#11
0
?>
 Auto-approve galleries</label><br />
        </div>

        <div class="fieldgroup">
            <label class="lesspad"></label>
            <label for="allow_noconfirm" class="cblabel inline"><?php 
echo CheckBox('allow_noconfirm', 'checkbox', 1, $_REQUEST['allow_noconfirm']);
?>
 No confirmation e-mail required</label>
        </div>

        <div class="fieldgroup">
            <label class="lesspad"></label>
            <label for="allow_blacklist" class="cblabel inline"><?php 
echo CheckBox('allow_blacklist', 'checkbox', 1, $_REQUEST['allow_blacklist']);
?>
 Allow blacklisted items</label>
        </div>

        </fieldset>

    <div class="centered margin-top">
      <button type="submit"><?php 
echo $editing ? 'Update' : 'Add';
?>
 Whitelist Item</button>
    </div>

    <input type="hidden" name="r" value="<?php 
echo $editing ? 'txWhitelistEdit' : 'txWhitelistAdd';
               
          <div class="fieldgroup">
            <label for="search">Search For:</label>
            <textarea name="search" id="search" rows="7" cols="100" wrap="off"></textarea>
          </div>
          
          <div class="fieldgroup">
            <label for="replace">Replace With:</label>
            <textarea name="replace" id="replace" rows="7" cols="100" wrap="off"></textarea>
          </div>
          
          <div class="fieldgroup">
            <label></label>
            <label for="detailed" class="cblabel inline">
            <?php 
echo CheckBox('detailed', 'checkbox', 1, $_REQUEST['detailed']);
?>
 Display detailed search and replace results</label>
          </div> 
        
        </fieldset>
    
    <div class="centered margin-top">
      <button type="submit">Search and Replace</button>
    </div>

    <input type="hidden" name="r" value="txPageTemplatesReplace">
    </form>
</div>

    
示例#13
0
 public function add_form($AccountID, $OrderID = null)
 {
     global $LANG, $lInfo, $PAYMETHOD, $PAYTARGET, $DomainPrice;
     $show = openForm(iSELF);
     $show .= HiddenField('object', 'payment');
     $show .= HiddenField('action', 'add2');
     $show .= HiddenField('AccountID', $AccountID);
     $show .= HiddenField('OrderID', $OrderID);
     $show .= beginTable($LANG['Payment']);
     if (!empty($OrderID)) {
         $order = new Order($OrderID);
         $show .= StaticField($LANG['OrderID'], $order->id);
         if ($order->service == 'hosting') {
             // Calculate hosting price
             //$serv = new Service_hosting(array('opentime'=>date('Y-m-d H:i:s', iNOW_UNIX - $order->count*iMON), 'closetime'=>iNOW_TEXT, 'mod'=>$order->package->id));
             $hosting_price = $order->count * $order->package->price;
             $show .= '<tr><td class="nob">' . HiddenField('item', 'hosting') . '</td></tr>';
             $pack_array = array();
             foreach ($PAYMETHOD as $index => $val) {
                 $pack_array[] = $index;
                 $pack_array[] = $val;
             }
             $show .= ArrayDropBox($LANG['Paymethod'], 'method', $order->paymethod, $pack_array);
             $show .= TextField($LANG['Amount'] . ', руб.', 'amount', round($hosting_price, 2));
             if ($order->domaininfo['action'] == 'reg') {
                 $domain_price = $DomainPrice[zone($order->domain)][0];
                 if ($DomainPrice[zone($order->domain)][3]) {
                     foreach ($order->package->bonusdomain as $time => $bonus) {
                         if ($order->count >= $time) {
                             $domain_price = 0.0;
                         }
                     }
                 }
                 $show .= CheckBox($lInfo['reg'] . ' ' . $order->domain, 'domain', true);
                 $show .= TextField($LANG['Domain'] . ' ' . $LANG['Amount'] . ', руб.', 'domain_amount', round($domain_price, 2));
             }
         } elseif ($order->service == 'domain' || $order->service == 'domain_cont') {
             $amount = $order->amount;
             $show .= StaticField('Назаначение', "<input type='radio' name='item' value='{$order->service}' checked='checked' />" . $PAYTARGET[$order->service]['name'] . '<br />(регистрация/продление домена и добавление услуги)<br />' . "<input type='radio' name='item' value='hosting' />" . $PAYTARGET['hosting']['name'] . '<br />(продление хостинга)');
             $pack_array = array();
             foreach ($PAYMETHOD as $index => $val) {
                 $pack_array[] = $index;
                 $pack_array[] = $val;
             }
             $show .= ArrayDropBox($LANG['Paymethod'], 'method', $order->paymethod, $pack_array);
             $show .= TextField($LANG['Amount'], 'amount', round($amount, 2));
         } else {
             $amount = $order->amount;
             $pack_array = array();
             foreach ($PAYTARGET as $index => $val) {
                 $pack_array[] = $index;
                 $pack_array[] = $val['name'];
             }
             $show .= ArrayDropBox($LANG['Service'], 'item', $order->service, $pack_array);
             $pack_array = array();
             foreach ($PAYMETHOD as $index => $val) {
                 $pack_array[] = $index;
                 $pack_array[] = $val;
             }
             $show .= ArrayDropBox($LANG['Paymethod'], 'method', $order->paymethod, $pack_array);
             $show .= TextField($LANG['Amount'], 'amount', round($amount, 2));
         }
     } else {
         $amount = 0.0;
         $Service = 'hosting_cont';
         $PayMethod = '';
         $show .= TextField($LANG['OrderID'], 'OrderID', '');
         $pack_array = array();
         foreach ($PAYTARGET as $index => $val) {
             $pack_array[] = $index;
             $pack_array[] = $val['name'];
         }
         $show .= ArrayDropBox($LANG['Service'], 'item', $Service, $pack_array);
         $pack_array = array();
         foreach ($PAYMETHOD as $index => $val) {
             $pack_array[] = $index;
             $pack_array[] = $val;
         }
         $show .= ArrayDropBox($LANG['Paymethod'], 'method', $PayMethod, $pack_array);
         $show .= TextField($LANG['Amount'], 'amount', round($amount, 2));
     }
     if (!empty($OrderID) && ($order->service == 'hosting' || $order->service == 'hosting_cont')) {
         $show .= CheckBox('Отправить уведомление', 'Note', true);
     } else {
         $show .= CheckBox('Отправить уведомление', 'Note', false);
     }
     $show .= Submitter('new_pay', $LANG['Add']);
     $show .= endTable();
     $show .= closeForm();
     return $show;
 }
示例#14
0
?>
" />
            </div>
            
            <div class="fieldgroup">
                <label for="movies_file_size">Minimum Filesize:</label>
                <input type="text" name="movies_file_size" id="movies_file_size" size="10" value="<?php 
echo $_REQUEST['movies_file_size'];
?>
" />
            </div>           
            
            <div class="fieldgroup">
                <label></label>
                <label for="movies_preview_allowed" class="cblabel inline"><?php 
echo CheckBox('movies_preview_allowed', 'checkbox', 1, $_REQUEST['movies_preview_allowed']);
?>
 Allow preview thumbnails for this format</label>
            </div>          
            
            <div class="fieldgroup">
                <label for="movies_preview_size">Preview Dimensions:</label>
                <select name="movies_preview_size">
                  <option value="custom">Custom --&gt;</option>
                  <?php 
echo OptionTags($sizes, $_REQUEST['movies_preview_size'], TRUE);
?>
                </select>
                <input type="text" name="movies_preview_size_custom" id="movies_preview_size_custom" size="10" value="<?php 
echo $_REQUEST['movies_preview_size_custom'];
?>
示例#15
0
?>

        <div class="fieldgroup">
            <label class="lesspad"></label>
            <label for="allow_scan" class="cblabel inline">
            <?php 
echo CheckBox('allow_scan', 'checkbox', 1, $_REQUEST['allow_scan']);
?>
 Allow the gallery scanner to scan this gallery</label>
        </div>

        <div class="fieldgroup">
            <label class="lesspad"></label>
            <label for="allow_preview" class="cblabel inline">
            <?php 
echo CheckBox('allow_preview', 'checkbox', 1, $_REQUEST['allow_preview']);
?>
 Allow the gallery scanner to create a thumbnail for this gallery</label>
        </div>
      </fieldset>

      <?php 
$result = $DB->Query('SELECT * FROM `tx_gallery_field_defs` ORDER BY `field_id`');
?>
      <fieldset<?php 
if ($DB->NumRows($result) < 1) {
    echo ' style="display: none;"';
}
?>
>
        <legend>User Defined Fields</legend>
示例#16
0
            
            <div class="fieldgroup">
                <label class="lesspad"></label>
                <label for="allow_blacklist" class="cblabel inline"><?php 
echo CheckBox('allow_blacklist', 'checkbox', 1, $_REQUEST['allow_blacklist']);
?>
 Allow blacklisted items</label>
            </div>
            
            <?php 
if (!$editing) {
    ?>
            <div class="fieldgroup">
                <label class="lesspad"></label>
                <label for="send_email" class="cblabel inline"><?php 
    echo CheckBox('send_email', 'checkbox', 1, $_REQUEST['send_email']);
    ?>
 Send the email-partner-added.tpl e-mail message to this newly created account</label>
            </div>
            <?php 
}
?>
        </fieldset>
        
          <?php 
$result = $DB->Query('SELECT * FROM `tx_partner_field_defs` WHERE `request_only`=0 ORDER BY `field_id`');
?>
          <fieldset<?php 
if ($DB->NumRows($result) < 1) {
    echo ' style="display: none;"';
}
示例#17
0
</textarea>
        </div>

        <div class="fieldgroup">
            <label for="status">Status:</label>
            <select name="status">
              <?php 
echo OptionTags($status_options, $_REQUEST['status']);
?>
            </select>
        </div>

        <div class="fieldgroup">
            <label></label>
            <label for="hidden" class="cblabel inline"><?php 
echo CheckBox('hidden', 'checkbox', 1, $_REQUEST['hidden']);
?>
 Make this category hidden</label>
        </div>
        </fieldset>

    <div class="centered margin-top">
      <button type="submit"><?php 
echo $editing ? 'Update' : 'Add';
?>
 Category</button>
    </div>

    <input type="hidden" name="r" value="<?php 
echo $editing ? 'lxEditCategory' : 'lxAddCategory';
?>
示例#18
0
?>
            Deleting an account</label>
        </div>

        <div class="fieldgroup">
            <label class="lesspad"></label>
            <label for="confirm_account_lock" class="cblabel inline"><?php 
echo CheckBox('confirm_account_lock', 'checkbox', 1, $C['confirm_account_lock']);
?>
            Disabling/enabling &amp; Locking/unlocking an account</label>
        </div>

        <div class="fieldgroup">
            <label class="lesspad"></label>
            <label for="confirm_edit_process" class="cblabel inline"><?php 
echo CheckBox('confirm_edit_process', 'checkbox', 1, $C['confirm_edit_process']);
?>
            Approving/rejecting an account edit</label>
        </div>
      </fieldset>

    <div class="centered margin-top">
      <button type="submit">Save Settings</button>
    </div>

    <input type="hidden" name="r" value="tlxGeneralSettingsSave">
    </form>
</div>


</body>
示例#19
0
            <?php 
echo CheckBox('e_link_edit', 'checkbox', E_LINK_EDIT, $_REQUEST['e_link_edit'], $_REQUEST['notifications']);
?>
 Edited Link</label>
          </div>

          <div class="fieldgroup">
            <label class="lesspadd"></label>
            <label for="e_comment" class="cblabel inline">
            <?php 
echo CheckBox('e_comment', 'checkbox', E_COMMENT, $_REQUEST['e_comment'], $_REQUEST['notifications']);
?>
 New Comment &nbsp;</label>
            <label for="e_payment" class="cblabel inline">
            <?php 
echo CheckBox('e_payment', 'checkbox', E_PAYMENT, $_REQUEST['e_payment'], $_REQUEST['notifications']);
?>
 Payment</label>
          </div>
        </fieldset>

    <div class="centered margin-top">
      <button type="submit"><?php 
echo $editing ? 'Update' : 'Add';
?>
 Account</button>
    </div>

    <input type="hidden" name="r" value="<?php 
echo $editing ? 'lxEditAdministrator' : 'lxAddAdministrator';
?>
echo CheckBox("partner[{$item['username']}][allow_blacklist]", 'checkbox', 1, $item['allow_blacklist']);
?>
 
        <label for="<?php 
echo "partner[{$item['username']}][allow_blacklist]";
?>
" class="plain-label lite">Allow blacklisted items</label><br />
        </div>
        <div style="clear: both; padding-bottom: 4px;"></div>
      </div>
      
      <?php 
if (count($GLOBALS['ICON_CACHE']) > 0) {
    ?>
      <div class="fieldgroup">
        <label class="lesspad">Icons:</label>
        <div style="float: left">
          <?php 
    foreach ($GLOBALS['ICON_CACHE'] as $icon) {
        echo CheckBox("partner[{$item['username']}][icons][]", 'checkbox', $icon['icon_id'], '') . " " . $icon['icon_html'] . "<br />";
    }
    ?>
        </div>
        <div style="clear: both; padding-bottom: 4px;"></div>
      </div>
      <?php 
}
?>
  </td>
</tr>
示例#21
0
        <fieldset>
          <legend>E-mail Settings</legend>
            <div class="fieldgroup">
              <label></label>
              <label for="e_account_added" class="cblabel inline">
              <?php 
echo CheckBox('e_account_added', 'checkbox', E_ACCOUNT_ADDED, $_REQUEST['e_account_added'], $_REQUEST['notifications']);
?>
 Send e-mail when new account is created</label>
            </div>

            <div class="fieldgroup">
              <label></label>
              <label for="e_account_edited" class="cblabel inline">
              <?php 
echo CheckBox('e_account_edited', 'checkbox', E_ACCOUNT_EDITED, $_REQUEST['e_account_edited'], $_REQUEST['notifications']);
?>
 Send e-mail when an account is edited</label>
            </div>
        </fieldset>

    <div class="centered margin-top">
      <button type="submit"><?php 
echo $editing ? 'Update' : 'Add';
?>
 Account</button>
    </div>

    <input type="hidden" name="r" value="<?php 
echo $editing ? 'tlxAdministratorEdit' : 'tlxAdministratorAdd';
?>
示例#22
0
      </td>
      </tr>
      <tr>
      <td align="right">
      <b>Status:</b>
      </td>
      <td colspan="2">
      <select name="status">
      <?php 
$status_options = array('' => 'All', 'unconfirmed' => 'Unconfirmed', 'pending' => 'Pending', 'active' => 'Active', 'disabled' => 'Disabled');
echo OptionTags($status_options, $_REQUEST['status']);
?>
      </select>

      <label for="is_edited" class="cblabel inline"><?php 
echo CheckBox('is_edited', 'checkbox', 1, $_REQUEST['is_edited']);
?>
 Edited</label>
      </td>
      </tr>
      <tr>
      <td align="right">
      <b>Sort:</b>
      </td>
      <td>
      <select name="order" id="order">
        <option value="date_added">Date Added</option>
        <option value="date_modified">Date Modified</option>
        <option value="date_scanned">Date Last Scanned</option>
        <option value="lx_links.link_id">Link ID</option>
        <option value="title">Title</option>
        </select>
      </div>
      
      <div class="fieldgroup">
        <label for="sponsor">Sponsor:</label>
        <select name="sponsor" id="sponsor">
        <?php 
$sponsors =& $DB->FetchAll('SELECT * FROM `tx_sponsors` ORDER BY `name`');
array_unshift($sponsors, array('sponsor_id' => '', 'name' => 'From Import Data'));
echo OptionTagsAdv($sponsors, $_REQUEST['sponsor'], 'sponsor_id', 'name', 60);
?>
        </select>
        
        <div id="div_add_sponsor" style="margin-top: 3px;">
        <label for="add_sponsor" class="cblabel inline"><?php 
echo CheckBox('add_sponsor', 'checkbox', 1, $_REQUEST['add_sponsor']);
?>
 Add new sponsor if imported sponsor name does not already exist</label>
        </div>
      </div>
      
      <div class="fieldgroup">
        <label for="bad_category">Bad Category:</label>
        <div style="float: left;">
        <select name="bad_category" id="bad_category">
        <?php 
$bc_options = array('skip' => 'Skip over gallery', 'create' => 'Create new category', 'force' => 'Place in this category --->');
echo OptionTags($bc_options, $_REQUEST['bad_category']);
?>
        </select>
        </div>
        <fieldset>
          <legend>Text Annotation</legend>

            <div class="fieldgroup">
                <label for="string">String:</label>
                <input type="text" name="string" id="string" size="40" value="<?php 
echo $_REQUEST['string'];
?>
" <?php 
if ($_REQUEST['use_category']) {
    echo ' class="readonly" readonly="readonly"';
}
?>
  />
                <label for="use_category" class="cblabel inline"><?php 
echo CheckBox('use_category', 'checkbox', 1, $_REQUEST['use_category']);
?>
 Use category name</label>
            </div>

            <div class="fieldgroup">
                <label for="font_file">Font File:</label>
                <input type="text" name="font_file" id="font_file" size="20" value="<?php 
echo $_REQUEST['font_file'];
?>
" />
            </div>

            <div class="fieldgroup">
                <label for="text_size">Text Size:</label>
                <input type="text" name="text_size" id="text_size" size="10" value="<?php 
示例#25
0
          </div>

          <div class="fieldgroup">
            <label class="lesspad"></label>
            <label for="process_get_description" class="cblabel inline">
            <?php 
echo CheckBox('process_get_description', 'checkbox', 1, $_REQUEST['process_get_description']);
?>
 Extract value from the site's &lt;meta&gt; description tag and use for the Description value</label>
          </div>

          <div class="fieldgroup">
            <label class="lesspad"></label>
            <label for="process_get_keywords" class="cblabel inline">
            <?php 
echo CheckBox('process_get_keywords', 'checkbox', 1, $_REQUEST['process_get_keywords']);
?>
 Extract value from the site's &lt;meta&gt; keywords tag and use for the Keywords value</label>
          </div>
        </fieldset>

        <fieldset>
          <legend>Actions</legend>

          <div class="fieldgroup">
          <label style="width: 250px;">Links with connection errors:</label>
          <select name="action_connect">
          <?php 
$actions = array('0x00000000' => 'Ignore', '0x00000001' => 'Display in report only', '0x00000002' => 'Change link status to disabled', '0x00000004' => 'Delete link from database', '0x00000008' => 'Delete link and blacklist');
echo OptionTags($actions, $_REQUEST['action_connect']);
?>
示例#26
0
?>
              </select>
              <br />
              <select name="case">
                <?php 
$cases = array('lower' => 'All letters lower case', 'nochange' => 'No change to text case');
echo OptionTags($cases, $_REQUEST['case']);
?>
            </select>
            </div>
          </div>
          
          <div class="fieldgroup">
            <label class="lesspad"></label>
            <label for="locked" class="cblabel inline"><?php 
echo CheckBox('locked', 'checkbox', 1, $_REQUEST['locked']);
?>
 Lock these pages</label>
          </div>

        </fieldset>
    
    <div class="centered margin-top">
      <button type="submit">Add TGP Pages</button>
    </div>

    <input type="hidden" name="r" value="txPageAddBulk">    
    </form>
</div>

    
示例#27
0
    ?>
                </select>
                <img src="images/add-small.png" onclick="addCategorySelect(this)" class="click-image" alt="Add Category">
                <img src="images/remove-small.png" onclick="removeCategorySelect(this)" class="click-image" alt="Remove Category">
                </div>
                <?php 
}
?>
            
                </div>
            </div>
            
            <div class="fieldgroup">
                <label class="lesspad"></label>
                <label for="as_exclude" class="cblabel inline"><?php 
echo CheckBox('as_exclude', 'checkbox', 1, $_REQUEST['as_exclude']);
?>
 Use the above selected categories as an exclusion list</label>
            </div>
        </fieldset>

    <div class="centered margin-top">
      <button type="submit"><?php 
echo $editing ? 'Update' : 'Add';
?>
 Domain</button>
    </div>

    <input type="hidden" name="r" value="<?php 
echo $editing ? 'txDomainEdit' : 'txDomainAdd';
?>
              <label></label>
              <label for="e_cheat_report" class="cblabel inline">
              <?php 
echo CheckBox('e_cheat_report', 'checkbox', E_CHEAT_REPORT, $_REQUEST['e_cheat_report'], $_REQUEST['notifications']);
?>
              Send e-mail when there are</label> <input type="text" name="reports_waiting" id="reports_waiting" size="5" value="<?php 
echo $_REQUEST['reports_waiting'];
?>
" /> cheat reports waiting to be processed
            </div>

            <div class="fieldgroup">
              <label></label>
              <label for="e_partner_request" class="cblabel inline">
              <?php 
echo CheckBox('e_partner_request', 'checkbox', E_PARTNER_REQUEST, $_REQUEST['e_partner_request'], $_REQUEST['notifications']);
?>
              Send e-mail when there are</label> <input type="text" name="requests_waiting" id="requests_waiting" size="5" value="<?php 
echo $_REQUEST['requests_waiting'];
?>
" /> partner account requests waiting to be processed
            </div>
        </fieldset>

    <div class="centered margin-top">
      <button type="submit"><?php 
echo $editing ? 'Update' : 'Add';
?>
 Account</button>
    </div>