<?php echo OptionTagsAdv($categories, $category, 'category_id', 'name', 50); ?> </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 } } else { ?> <div style="margin-bottom: 3px;"> <select name="categories[]"> <?php echo OptionTagsAdv($categories, null, 'category_id', 'name', 50); ?> </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
<div style="padding-bottom: 5px; text-align: right"> <img src="images/check.png" alt="OK" title="OK" style="margin-right: 10px;" id="load_select_ok" class="click-image"> <img src="images/x.png" alt="Cancel" title="Cancel" id="load_select_cancel" class="click-image"> </div> <select id="load_template" size="30" style="min-width: 300px;"> <?php echo OptionTagsAdv($pages, $_REQUEST['page_id'], 'page_id', 'page_url'); ?> </select> </div> <!-- TEMPLATE SAVE WITH OPTIONS SELECTOR --> <div style="display: none; position: absolute; background-color: #ececec; border: 1px solid #afafaf; padding: 10px;" id="save_select"> <div style="float: left; font-weight: bold;"> Select templates to save: </div> <div style="padding-bottom: 5px; text-align: right"> <img src="images/check.png" alt="OK" title="OK" style="margin-right: 10px;" id="save_select_ok" class="click-image"> <img src="images/x.png" alt="Cancel" title="Cancel" id="save_select_cancel" class="click-image"> </div> <select name="save_template[]" id="save_template" size="30" style="min-width: 300px;" multiple="multiple"> <?php echo OptionTagsAdv($pages, $_REQUEST['page_id'], 'page_id', 'page_url'); ?> </select> </div> </body> </html>
<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> <div id="category_select" style="display: none; float: left;"> <select name="forced_category" id="forced_category"> <?php $categories =& $DB->FetchAll('SELECT `name`,`tag` FROM `tx_categories` ORDER BY `name`'); echo OptionTagsAdv($categories, $_REQUEST['forced_category'], 'tag', 'name', 60); ?> </select> </div> </div> <div class="fieldgroup"> <label for="sponsor">Duplicates:</label> <select name="duplicates" id="duplicates"> <?php $duplicates = array('skip' => 'Skip over gallery', 'replace' => 'Replace old gallery data with new gallery data', 'allow' => 'Add duplicates to database'); echo OptionTags($duplicates, $_REQUEST['duplicates']); ?> </select> </div> </fieldset>
</div> </div> <div class="fieldgroup"> <label for="sponsor_id">Sponsor:</label> <?php if (count($sponsors) < 1) { ?> <div style="padding: 3px 0px 0px 0px; margin: 0;">-</div> <?php } else { ?> <select name="sponsor_id"> <option value=""></option> <?php echo OptionTagsAdv($sponsors, $_REQUEST['sponsor_id'], 'sponsor_id', 'name', 50); ?> </select> <?php } ?> </div> <div class="fieldgroup"> <label for="status">Status:</label> <select name="status"> <?php $statuses = array('pending' => 'Pending', 'approved' => 'Approved', 'used' => 'Used', 'holding' => 'Holding', 'disabled' => 'Disabled'); echo OptionTags($statuses, $_REQUEST['status']); ?> </select>
<option value="site_url">Site URL</option> <option value="banner_url">Banner URL</option> <option value="banner_height">Banner Height</option> <option value="banner_width">Banner Width</option> <option value="title">Title</option> <option value="description">Description</option> <option value="date_added">Date Added</option> <option value="date_activated">Date Activated</option> <option value="return_percent">Return Percent</option> <option value="avg_rating">Average Rating</option> <option value="ratings">Total Ratings</option> <option value="inactive">Inactive</option> <option value="admin_comments">Admin Comments</option> <?php $fields =& $DB->FetchAll('SELECT * FROM `tlx_account_field_defs`'); echo OptionTagsAdv($fields, '', 'name', 'label', 40); ?> <optgroup label="Last 24 Hours"> <option value="raw_in_total">Raw In</option> <option value="unique_in_total" selected="selected">Unique In</option> <option value="raw_out_total">Raw Out</option> <option value="unique_out_total">Unique Out</option> <option value="clicks_total">Clicks</option> </optgroup> <optgroup label="Last Hour"> <option value="raw_in_last_hr">Raw In</option> <option value="unique_in_last_hr">Unique In</option> <option value="raw_out_last_hr">Raw Out</option> <option value="unique_out_last_hr">Unique Out</option> <option value="clicks_last_hr">Clicks</option> </optgroup>
<label for="base_url">Base URL:</label> <input type="text" name="base_url" id="base_url" size="80" value="<?php echo $_REQUEST['base_url']; ?> " /> </div> <div class="fieldgroup"> <label for="category_id">Category:</label> <select name="category_id" id="category_id" onchange="categoryChange()"> <option value="">MIXED</option> <?php array_unshift($categories, array('category_id' => '__all__', 'name' => 'ALL CATEGORIES')); echo OptionTagsAdv($categories, $_REQUEST['category_id'], 'category_id', 'name', 50); ?> </select> </div> <div id="filename_prefix" style="clear: both"> <div class="fieldgroup"> <label for="prefix">Filename Prefix:</label> <input type="text" name="prefix" id="prefix" size="20" value="<?php echo $_REQUEST['prefix']; ?> " /> </div> </div> <div class="fieldgroup">
<tr> <td align="right" width="80" class="bold" valign="top" style="padding-top: 3px"> Categories </td> <td width="425"> <div id="category_selects"> <?php $all_categories =& $DB->FetchAll('SELECT * FROM `tx_categories` ORDER BY `name`'); $categories =& CategoriesFromTags($gallery['categories']); foreach ($categories as $category) { ?> <div style="margin-bottom: 3px;"> <select name="categories[]"> <?php echo OptionTagsAdv($all_categories, $category['category_id'], 'category_id', 'name', 50); ?> </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> </td> <td align="right" width="70" class="bold" valign="top" style="padding-top: 3px"> Nickname </td> <td valign="top"> <input type="text" name="nickname" value="<?php
} ?> </td> <td class="last" valign="top" style="width: 350px"> <?php if (count($GLOBALS['REJECTION_CACHE']) > 0) { ?> <div class="fieldgroup"> <label>Rejection:</label> <select name="partner[<?php echo $item['username']; ?> ][rejection]"> <option value="">NONE</option> <?php echo OptionTagsAdv($GLOBALS['REJECTION_CACHE'], '', 'email_id', 'identifier', 30); ?> </select> </div> <?php } else { ?> <input type="hidden" name="partner[<?php echo $item['username']; ?> ][rejection]" value=""> <?php } ?>
?> " style="width: auto; margin-top: 5px"> <img src="images/check.png" border="0" alt="Approve" title="Approve" class="click function" onclick="processNew('<?php echo $item['username']; ?> ', 'approve')"> <img src="images/x.png" border="0" alt="Reject" title="Reject" class="click function" onclick="processNew('<?php echo $item['username']; ?> ', 'reject')"> <br /> <select name="email[<?php echo $item['username']; ?> ]" id="email_<?php echo $item['username']; ?> " style="width: 150px;"> <option value="">No E-mail</option> <option value="approval" selected="selected">Approval E-mail</option> <?php echo OptionTagsAdv($GLOBALS['REJECTIONS'], null, 'email_id', 'identifier', 30); ?> </select> </div> <?php } ?> </td> </tr>
echo join('<br />', $GLOBALS['_details']); ?> </div> <?php } ?> <fieldset> <legend>Search and Replace Settings</legend> <div class="fieldgroup"> <label for="pages">Pages:</label> <select name="pages[]" id="pages" multiple="multiple" size="10"> <?php $pages =& $DB->FetchAll('SELECT `page_id`,`page_url` FROM `tx_pages` ORDER BY `page_url`'); echo OptionTagsAdv($pages, '', 'page_id', 'page_url', 70); ?> </select> </div> <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">
<?php echo OptionTagsAdv($domains, $domain, 'domain_id', 'domain', 50); ?> </select> <img src="images/add-small.png" onclick="addCategorySelect(this, '#domain_selects')" class="click-image" alt="Add Domain"> <img src="images/remove-small.png" onclick="removeCategorySelect(this, '#domain_selects')" class="click-image" alt="Remove Domain"> </div> <?php } } else { ?> <div style="margin-bottom: 3px;"> <select name="domains[]" id="domains"> <?php echo OptionTagsAdv($domains, null, 'domain_id', 'domain', 50); ?> </select> <img src="images/add-small.png" onclick="addCategorySelect(this, '#domain_selects')" class="click-image" alt="Add Domain"> <img src="images/remove-small.png" onclick="removeCategorySelect(this, '#domain_selects')" class="click-image" alt="Remove Domain"> </div> <?php } ?> </div> </div> <div class="fieldgroup"> <label class="lesspad"></label> <label for="domains_as_exclude" class="cblabel inline">
</div> <div class="fieldgroup"> <label for="movies_annotation">Preview Annotation:</label> <?php if (!count($annotations)) { ?> <div style="float: left;" class="warn">No annotations have been configured</div> <div style="clear: both"></div> <?php } else { ?> <select name="movies_annotation"> <option value="0">None</option> <?php echo OptionTagsAdv($annotations, $_REQUEST['movies_annotation'], 'annotation_id', 'identifier', 50); ?> </select> <?php } ?> </div> </fieldset> <?php if ($editing) { ?> <fieldset> <legend>Bulk Edit Options</legend> <div class="fieldgroup"> <label></label>
<div class="fieldgroup"> <label for="format">Format:</label> <select name="settings[format]" id="format"> <?php $formats = array('pictures' => 'Pictures', 'movies' => 'Movies'); echo OptionTags($formats, $_REQUEST['settings']['format']); ?> </select> </div> <div class="fieldgroup"> <label for="category">Category:</label> <select name="settings[category]" id="category"> <?php $categories =& $DB->FetchAll('SELECT `name`,`category_id` FROM `tx_categories` ORDER BY `name`'); echo OptionTagsAdv($categories, $_REQUEST['settings']['category'], 'category_id', 'name', 60); ?> </select> </div> </div> </fieldset> <div class="centered margin-top"> <button type="submit"><?php echo $editing ? 'Update' : 'Add'; ?> RSS Feed</button> </div> <input type="hidden" name="r" value="<?php
</select> </td> <td> <button type="button" onclick="$('#limit').val(0); loadNext()">Save</button> </td> </tr> </table> </div> <div id="reject-options"> <b>E-mail:</b> <select name="multi_email"> <?php $rejections =& $DB->FetchAll('SELECT * FROM `tx_rejections` ORDER BY `identifier`'); array_unshift($rejections, array('email_id' => '', 'identifier' => 'NONE')); echo OptionTagsAdv($rejections, '', 'email_id', 'identifier', 40); ?> </select> <img src="images/x-big.png" border="0" style="position: absolute; top: 6px; left: 290px;" id="reject-actual" class="click" alt="Reject" title="Reject"> <img src="images/window-close.png" border="0" style="position: absolute; top: 5px; left: 325px;" id="reject-close" class="click" alt="Close" title="Close"> </div> <div style="padding: 5px 10px 5px 10px; z-index: 0"> <!-- Function Icons --> <div id="icons" style="position: absolute; top: 10px; right: 10px;"> <img src="images/check-big.png" id="approve-icon" border="0" style="padding-left: 10px;" class="click" alt="Approve" title="Approve"> <img src="images/x-big.png" id="reject-icon" border="0" style="padding-left: 10px;" class="click" alt="Reject" title="Reject"> <img src="images/trash-big.png" id="delete-icon" border="0" style="padding-left: 10px;" class="click" alt="Delete" title="Delete"> <img src="images/blacklist-big.png" id="blacklist-icon" border="0" style="padding-left: 10px;" class="click" alt="Blacklist" title="Blacklist">
?> </select> <img src="images/add-small.png" onclick="addCategorySelect(this, '#perm_sponsor_selects')" class="click-image" alt="Add Sponsor"> <img src="images/remove-small.png" onclick="removeCategorySelect(this, '#perm_sponsor_selects')" class="click-image" alt="Remove Sponsor"> </div> </div> </div> <div class="fieldgroup"> <label for="exclude_sponsors">Exclude Sponsors:</label> <div id="perm_exclude_sponsor_selects" style="float: left;"> <div style="margin-bottom: 3px;"> <select name="p[exclude_sponsors][]"> <option value="">NONE</option> <?php echo OptionTagsAdv($sponsors, null, 'name', 'name', 50); ?> </select> <img src="images/add-small.png" onclick="addCategorySelect(this, '#perm_exclude_sponsor_selects')" class="click-image" alt="Add Sponsor"> <img src="images/remove-small.png" onclick="removeCategorySelect(this, '#perm_exclude_sponsor_selects')" class="click-image" alt="Remove Sponsor"> </div> </div> </div> <div class="fieldgroup"> <label for="weight">Gallery Weight:</label> <select name="p[weight]" id="weight"> <option value="">Don't care</option> <option value="=">Equals</option> <option value="!=">Does not equal</option> <option value="<">Less than</option>
} else { ?> Image editing is not available on this server <?php } ?> </div> <div id="save-search-div"> <form id="save-search-form"> <b>Identifier:</b> <input type="text" size="30" id="save-search-identifier"> <img src="images/save.png" class="function click" onclick="saveSearch()"> <img src="images/x.png" class="function click" onclick="$('#save-search-div').hide();"> </form> </div> <div id="load-search-div"> <form id="load-search-form"> <select id="load-search-select"> <?php echo OptionTagsAdv($searches, '', 'search_id', 'identifier', 40); ?> </select> <img src="images/restore-small.png" class="function click" onclick="loadSearch()"> <img src="images/trash.png" class="function click" onclick="deleteSearch()"> <img src="images/x.png" class="function click" onclick="$('#load-search-div').hide();"> </form> </div> </body> </html>