HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: /home/mmickelson/theflexguys.com/baronconstruct/wp-content/themes/rt_affinity_wp/admin/general.php
<?php

	if (!empty($_SERVER['SCRIPT_FILENAME']) && 'general.php' == basename($_SERVER['SCRIPT_FILENAME']))
		die ('Please do not load this page directly. Thanks!');

?>

	<?php $option = get_option('affinity-options'); ?>	
	
	<div class="general-wrapper">

		<div class="tabbar">
		
			<div class="tab1 singletab">
				<div class="tabl"></div>
				<div class="tabr"><a href="#main"><?php _re('Main'); ?></a></div>
			</div>
			
			<div class="tab2 singletab">
				<div class="tabl"></div>
				<div class="tabr"><a href="#blog"><?php _re('Blog'); ?></a></div>
			</div>
			
			<div class="tab3 singletab">
				<div class="tabl"></div>
				<div class="tabr"><a href="#topmenu"><?php _re('Top Menu'); ?></a></div>
			</div>
			
			<div class="tab4 singletab">
				<div class="tabl"></div>
				<div class="tabr"><a href="#footer"><?php _re('Footer'); ?></a></div>
			</div>
			
			<div class="tab5 singletab">
				<div class="tabl"></div>
				<div class="tabr"><a href="#dimensions"><?php _re('Dimensions'); ?></a></div>
			</div>
			
			<div class="tab6 singletab">
				<div class="tabl"></div>
				<div class="tabr"><a href="#rokbox"><?php _re('RokBox'); ?></a></div>
			</div>
	
		</div>
		<div class="clr"></div>
					
		<div class="main-general">
		
		<div class="inner-tabber">	
			<a name="main"></a>
			
			<span class="section-title"><?php _re('Main'); ?></span><br /><br />
		
			<table class="options_table">
				<tr>
					<td class="firstcol">
						<div class="paramfield">
							<div class="paramtext">
								<?php _re('Breadcrumbs:'); ?>
							</div>
							<div class="paramcheck onlycheck">
								<?php if(rok_isIE()) { ?><label class="breadcrumbs"><?php } ?><input type="checkbox" value="true" class="checkbox" name="affinity-options[affinity_breadcrumbs]" id="breadcrumbs" <?php if($option['affinity_breadcrumbs'] == 'true') { ?>checked="checked"<?php } ?> /><?php if(rok_isIE()) { ?></label><?php } ?>
								<?php if(!rok_isIE()) { ?><label class="breadcrumbs" for="breadcrumbs"></label><?php } ?>
								<a href="#" rel="rokbox[350 50][module=op-breadcrumbs]"><span class="help">Help</span></a>
							</div>
							<div id="op-breadcrumbs" class="rthide">Displays breadcrumbs on single posts and pages.</div>
						</div>
					</td>
					<td class="secondcol">
						<div class="paramfield">
							<div class="paramtext">
								<?php _re('IE6 Warning:'); ?>
							</div>
							<div class="paramcheck onlycheck">
								<?php if(rok_isIE()) { ?><label class="ie_warning"><?php } ?><input type="checkbox" value="true" class="checkbox" name="affinity-options[affinity_ie_warning]" id="ie_warning" <?php if($option['affinity_ie_warning'] == 'true') { ?>checked="checked"<?php } ?> /><?php if(rok_isIE()) { ?></label><?php } ?>
								<?php if(!rok_isIE()) { ?><label class="ie_warning" for="ie_warning"></label><?php } ?>
								<a href="#" rel="rokbox[350 50][module=op-ie6-warn]"><span class="help">Help</span></a>
							</div>
							<div id="op-ie6-warn" class="rthide">Displays visitors a message that they're using IE6 and they should upgrade their browser to a newer version.</div>
						</div>
					</td>
				</tr>
				<tr>
					<td class="firstcol">
						<div class="paramfield">
							<div class="paramtext">
								<?php _re('Font Face:'); ?>
							</div>
							<div class="paramcheck">
								<label class="font_face">
									<select id="font_face" name="affinity-options[affinity_fface]">
      			   						<option value="ff-affinity" <?php if ($option['affinity_fface'] == "ff-affinity") : ?>selected="selected"<?php endif; ?>>Affinity</option>
      			     					<option value="ff-geneva" <?php if ($option['affinity_fface'] == "ff-geneva") : ?>selected="selected"<?php endif; ?>>Geneva</option>
      			    					<option value="ff-optima" <?php if ($option['affinity_fface'] == "ff-optima") : ?>selected="selected"<?php endif; ?>>Optima</option>
      							   		<option value="ff-helvetica" <?php if ($option['affinity_fface'] == "ff-helvetica") : ?>selected="selected"<?php endif; ?>>Helvetica</option>
      			     					<option value="ff-trebuchet" <?php if ($option['affinity_fface'] == "ff-trebuchet") : ?>selected="selected"<?php endif; ?>>Trebuchet</option>
      			      					<option value="ff-lucida" <?php if ($option['affinity_fface'] == "ff-lucida") : ?>selected="selected"<?php endif; ?>>Lucida</option>
      			      					<option value="ff-georgia" <?php if ($option['affinity_fface'] == "ff-georgia") : ?>selected="selected"<?php endif; ?>>Georgia</option>
      			     					<option value="ff-palatino" <?php if ($option['affinity_fface'] == "ff-palatino") : ?>selected="selected"<?php endif; ?>>Palatino</option>
                   					</select>
                   				</label>
                   				<a href="#" rel="rokbox[350 50][module=op-font-face]"><span class="help">Help</span></a>
							</div>	
							<div id="op-font-face" class="rthide">Choose the font you wish to use on your site.</div>
						</div>
					</td>
					<td class="secondcol">
						<div class="paramfield">
							<div class="paramtext">
								<?php _re('Font Size:'); ?>
							</div>
							<div class="paramcheck">
								<label class="font_size">
									<select id="font_size" name="affinity-options[affinity_fsize]">
      			     					<option value="f-small" <?php if ($option['affinity_fsize'] == "f-small") : ?>selected="selected"<?php endif; ?>><?php _re('Smaller'); ?></option>
      			     					<option value="f-default" <?php if ($option['affinity_fsize'] == "f-default") : ?>selected="selected"<?php endif; ?>><?php _re('Default'); ?></option>
      			   						<option value="f-large" <?php if ($option['affinity_fsize'] == "f-large") : ?>selected="selected"<?php endif; ?>><?php _re('Larger'); ?></option>
                   					</select>
                   				</label>
                   				<a href="#" rel="rokbox[350 50][module=op-font-size]"><span class="help">Help</span></a>
							</div>
							<div id="op-font-size" class="rthide">Choose the font size you wish to use on your site.</div>
						</div>
					</td>
				</tr>
				<tr>
					<td class="firstcol">
						<div class="paramfield">
							<div class="paramtext">
								<?php _re('Top Date Format:'); ?>
							</div>
							<div class="paramcheck">
								<label class="top_date_format">
									<input class="textbox" id="top_date_format" type="text" size="6" maxlength="255" name="affinity-options[affinity_dateformat]" value="<?php echo $option['affinity_dateformat']; ?>" />
                   				</label>
                   				<a href="#" rel="rokbox[450 50][module=op-top_date_format]"><span class="help">Help</span></a>
							</div>
							<div id="op-top_date_format" class="rthide">Here you can set how the date should be displayed in the top left corner. For reference please visit this site : <a href="http://php.net/manual/en/function.date.php" target="_blank">http://php.net/manual/en/function.date.php</a></div>
						</div>
					</td>
					<td class="secondcol">
						<div class="paramfield">
							<div class="paramtext">
								<?php _re('Top Date:'); ?>
							</div>
							<div class="paramcheck onlycheck">
								<?php if(rok_isIE()) { ?><label class="top_date"><?php } ?><input type="checkbox" value="true" class="checkbox" name="affinity-options[affinity_date]" id="top_date" <?php if($option['affinity_date'] == 'true') { ?>checked="checked"<?php } ?> /><?php if(rok_isIE()) { ?></label><?php } ?>
								<?php if(!rok_isIE()) { ?><label class="top_date" for="top_date"></label><?php } ?>
								<a href="#" rel="rokbox[350 50][module=op-top_date]"><span class="help">Help</span></a>
							</div>
							<div id="op-top_date" class="rthide">Displays current date in left top corner.</div>
						</div>
					</td>
				</tr>
				<tr>
					<td class="firstcol">
						<div class="paramfield">
							<div class="paramtext">
								<?php _re('Top Logo:'); ?>
							</div>
							<div class="paramcheck onlycheck">
								<?php if(rok_isIE()) { ?><label class="logo_enabled"><?php } ?><input type="checkbox" value="true" class="checkbox" name="affinity-options[affinity_logo]" id="logo_enabled" <?php if($option['affinity_logo'] == 'true') { ?>checked="checked"<?php } ?> /><?php if(rok_isIE()) { ?></label><?php } ?>
								<?php if(!rok_isIE()) { ?><label class="logo_enabled" for="logo_enabled"></label><?php } ?>
								<a href="#" rel="rokbox[350 50][module=op-logo_enabled]"><span class="help">Help</span></a>
							</div>
							<div id="op-logo_enabled" class="rthide">Displays site logo in header.</div>
						</div>
					</td>
					<td class="secondcol">
						<div class="paramfield">
							<div class="paramtext">
								<?php _re('Display Search:'); ?>
							</div>
							<div class="paramcheck onlycheck">
								<?php if(rok_isIE()) { ?><label class="search"><?php } ?><input type="checkbox" value="true" class="checkbox" name="affinity-options[affinity_search]" id="search" <?php if($option['affinity_search'] == 'true') { ?>checked="checked"<?php } ?> /><?php if(rok_isIE()) { ?></label><?php } ?>
								<?php if(!rok_isIE()) { ?><label class="search" for="search"></label><?php } ?>
								<a href="#" rel="rokbox[350 50][module=op-search]"><span class="help">Help</span></a>
							</div>
							<div id="op-search" class="rthide">Displays search box in the top.</div>
						</div>
					</td>
				</tr>
				<tr>
					<td class="firstcol">
						<div class="paramfield">
							<div class="paramtext">
								<?php _re('Login Button:'); ?>
							</div>
							<div class="paramcheck onlycheck">
								<?php if(rok_isIE()) { ?><label class="login_button"><?php } ?><input type="checkbox" value="true" class="checkbox" name="affinity-options[affinity_login]" id="login_button" <?php if($option['affinity_login'] == 'true') { ?>checked="checked"<?php } ?> /><?php if(rok_isIE()) { ?></label><?php } ?>
								<?php if(!rok_isIE()) { ?><label class="login_button" for="login_button"></label><?php } ?>
								<a href="#" rel="rokbox[350 50][module=op-login_button]"><span class="help">Help</span></a>
							</div>
							<div id="op-login_button" class="rthide">Displays "Login" button in the top right corner.</div>
						</div>
					</td>
					<td class="secondcol">
						<div class="paramfield">
							<div class="paramtext">
								<?php _re('Display Copyright:'); ?>
							</div>
							<div class="paramcheck onlycheck">
								<?php if(rok_isIE()) { ?><label class="copyright"><?php } ?><input type="checkbox" value="true" class="checkbox" name="affinity-options[affinity_copyright]" id="copyright" <?php if($option['affinity_copyright'] == 'true') { ?>checked="checked"<?php } ?> /><?php if(rok_isIE()) { ?></label><?php } ?>
								<?php if(!rok_isIE()) { ?><label class="copyright" for="copyright"></label><?php } ?>
								<a href="#" rel="rokbox[350 50][module=op-copyright]"><span class="help">Help</span></a>
							</div>
							<div id="op-copyright" class="rthide">Displays copyright in the footer.</div>
						</div>
					</td>
				</tr>
				<tr>
					<td class="firstcol">
						<div class="paramfield">
							<div class="paramtext">
								<?php _re('Copyright Text:'); ?>
							</div>
							<div class="paramcheck">
								<label class="copyright_text">
									<input class="textbox" id="copyright_text" type="text" size="15" maxlength="255" name="affinity-options[affinity_copyright_text]" value="<?php echo $option['affinity_copyright_text']; ?>" />
                   				</label>
                   				<a href="#" rel="rokbox[450 50][module=op-copyright_text]"><span class="help">Help</span></a>
							</div>
							<div id="op-copyright_text" class="rthide">Here you can change the text that appears as copyright.</div>
						</div>
					</td>
					<td class="secondcol">
						<div class="paramfield">
							<div class="paramtext">
								<?php _re('RocketTheme Logo:'); ?>
							</div>
							<div class="paramcheck onlycheck">
								<?php if(rok_isIE()) { ?><label class="rocket_logo"><?php } ?><input type="checkbox" value="true" class="checkbox" name="affinity-options[affinity_rocketlogo]" id="rocket_logo" <?php if($option['affinity_rocketlogo'] == 'true') { ?>checked="checked"<?php } ?> /><?php if(rok_isIE()) { ?></label><?php } ?>
								<?php if(!rok_isIE()) { ?><label class="rocket_logo" for="rocket_logo"></label><?php } ?>
								<a href="#" rel="rokbox[350 50][module=op-rocket_logo]"><span class="help">Help</span></a>
							</div>
							<div id="op-rocket_logo" class="rthide">Displays RocketTheme logo in the footer.</div>
						</div>
					</td>
				</tr>
			</table>
			</div>
			
			<div class="inner-tabber">
			<a name="blog"></a>
			
			<span class="section-title"><?php _re('Blog'); ?></span><br /><br />
		
			<table class="options_table">
				<tr>
					<td class="firstcol">
						<div class="paramfield">
							<div class="paramtext">
								<?php _re('Blog Post Order:'); ?>
							</div>
							<div class="paramcheck">
								<label class="blog_orderby">
									<select id="blog_orderby" name="affinity-options[affinity_blogorder]">
      			   						<option value="author" <?php if ($option['affinity_blogorder'] == "author") : ?>selected="selected"<?php endif; ?>><?php _re('Author'); ?></option>    	
      			   						<option value="date" <?php if ($option['affinity_blogorder'] == "date") : ?>selected="selected"<?php endif; ?>><?php _re('Date'); ?></option> 
      			   						<option value="title" <?php if ($option['affinity_blogorder'] == "title") : ?>selected="selected"<?php endif; ?>><?php _re('Title'); ?></option> 
      			   						<option value="modified" <?php if ($option['affinity_blogorder'] == "modified") : ?>selected="selected"<?php endif; ?>><?php _re('Modified'); ?></option> 
      			   						<option value="ID" <?php if ($option['affinity_blogorder'] == "ID") : ?>selected="selected"<?php endif; ?>>ID</option>
      			   						<option value="rand" <?php if ($option['affinity_blogorder'] == "rand") : ?>selected="selected"<?php endif; ?>><?php _re('Random'); ?></option> 		    				
      			     				</select>
      			     			</label>
      			     			<a href="#" rel="rokbox[350 50][module=op-blog_orderby]"><span class="help">Help</span></a>
							</div>
							<div id="op-blog_orderby" class="rthide">Here you can change in what order your posts will be displayed on the front page.</div>
						</div>
					</td>
					<td class="secondcol">
						<div class="paramfield">
							<div class="paramtext">
								<?php _re('Display Posts'); ?>
							</div>
							<div class="paramcheck">
								<label class="blog_content">
									<select id="blog_content" name="affinity-options[affinity_blogcont]">
      			   						<option value="content" <?php if ($option['affinity_blogcont'] == "content") : ?>selected="selected"<?php endif; ?>><?php _re('Content'); ?></option>    	
      			   						<option value="excerpt" <?php if ($option['affinity_blogcont'] == "excerpt") : ?>selected="selected"<?php endif; ?>><?php _re('Excerpt'); ?></option> 	    				
      			     				</select>
      			     			</label>
      			     			<a href="#" rel="rokbox[350 50][module=op-blog_content]"><span class="help">Help</span></a>
							</div>
							<div id="op-blog_content" class="rthide">Here you can change whether blog should display posts content or excerpt.</div>
						</div>
					</td>
				</tr>
				<tr>
					<td class="firstcol">
						<div class="paramfield">
							<div class="paramtext">
								<?php _re('Display Post Title:'); ?>
							</div>
							<div class="paramcheck onlycheck">
								<?php if(rok_isIE()) { ?><label class="blog_post_title"><?php } ?><input type="checkbox" value="true" class="checkbox" name="affinity-options[affinity_blogtitle]" id="blog_post_title" <?php if($option['affinity_blogtitle'] == 'true') { ?>checked="checked"<?php } ?> /><?php if(rok_isIE()) { ?></label><?php } ?>
								<?php if(!rok_isIE()) { ?><label class="blog_post_title" for="blog_post_title"></label><?php } ?>
								<a href="#" rel="rokbox[350 50][module=op-blog_post_title]"><span class="help">Help</span></a>
							</div>
							<div id="op-blog_post_title" class="rthide">Displays post title in the blog view.</div>
						</div>
					</td>
					<td class="secondcol">
						<div class="paramfield">
							<div class="paramtext">
								<?php _re('Link Title:'); ?>
							</div>
							<div class="paramcheck onlycheck">
								<?php if(rok_isIE()) { ?><label class="blog_post_title_link"><?php } ?><input type="checkbox" value="true" class="checkbox" name="affinity-options[affinity_blogtitle_link]" id="blog_post_title_link" <?php if($option['affinity_blogtitle_link'] == 'true') { ?>checked="checked"<?php } ?> /><?php if(rok_isIE()) { ?></label><?php } ?>
								<?php if(!rok_isIE()) { ?><label class="blog_post_title_link" for="blog_post_title_link"></label><?php } ?>
								<a href="#" rel="rokbox[350 50][module=op-blog_post_title_link]"><span class="help">Help</span></a>
							</div>
							<div id="op-blog_post_title_link" class="rthide">Link post titles in the blog view.</div>
						</div>
					</td>
				</tr>
				<tr>
					<td class="firstcol">
						<div class="paramfield">
							<div class="paramtext">
								<?php _re('Post Meta:'); ?>
							</div>
							<div class="paramcheck onlycheck">
								<?php if(rok_isIE()) { ?><label class="blog_post_meta"><?php } ?><input type="checkbox" value="true" class="checkbox" name="affinity-options[affinity_blogmeta]" id="blog_post_meta" <?php if($option['affinity_blogmeta'] == 'true') { ?>checked="checked"<?php } ?> /><?php if(rok_isIE()) { ?></label><?php } ?>
								<?php if(!rok_isIE()) { ?><label class="blog_post_meta" for="blog_post_meta"></label><?php } ?>
								<a href="#" rel="rokbox[350 50][module=op-blog_post_meta]"><span class="help">Help</span></a>
							</div>
							<div id="op-blog_post_meta" class="rthide">Displays post meta in the blog view.</div>
						</div>
					</td>
					<td class="secondcol">
						<div class="paramfield">
							<div class="paramtext">
								<?php _re('Author in Meta:'); ?>
							</div>
							<div class="paramcheck onlycheck">
								<?php if(rok_isIE()) { ?><label class="blog_post_meta_author"><?php } ?><input type="checkbox" value="true" class="checkbox" name="affinity-options[affinity_blogmeta_author]" id="blog_post_meta_author" <?php if($option['affinity_blogmeta_author'] == 'true') { ?>checked="checked"<?php } ?> /><?php if(rok_isIE()) { ?></label><?php } ?>
								<?php if(!rok_isIE()) { ?><label class="blog_post_meta_author" for="blog_post_meta_author"></label><?php } ?>
								<a href="#" rel="rokbox[350 50][module=op-blog_post_meta_author]"><span class="help">Help</span></a>
							</div>
							<div id="op-blog_post_meta_author" class="rthide">Displays post author in meta in the blog view.</div>
						</div>
					</td>
				</tr>
				<tr>
					<td class="firstcol">
						<div class="paramfield">
							<div class="paramtext">
								<?php _re('Date in Meta:'); ?>
							</div>
							<div class="paramcheck onlycheck">
								<?php if(rok_isIE()) { ?><label class="blog_post_meta_date"><?php } ?><input type="checkbox" value="true" class="checkbox" name="affinity-options[affinity_blogmeta_date]" id="blog_post_meta_date" <?php if($option['affinity_blogmeta_date'] == 'true') { ?>checked="checked"<?php } ?> /><?php if(rok_isIE()) { ?></label><?php } ?>
								<?php if(!rok_isIE()) { ?><label class="blog_post_meta_date" for="blog_post_meta_date"></label><?php } ?>
								<a href="#" rel="rokbox[350 50][module=op-blog_post_meta_date]"><span class="help">Help</span></a>
							</div>
							<div id="op-blog_post_meta_date" class="rthide">Displays post date in meta in the blog view.</div>
						</div>
					</td>
					<td class="secondcol">
						<div class="paramfield">
							<div class="paramtext">
								<?php _re('Comments in Meta:'); ?>
							</div>
							<div class="paramcheck onlycheck">
								<?php if(rok_isIE()) { ?><label class="blog_post_meta_comment"><?php } ?><input type="checkbox" value="true" class="checkbox" name="affinity-options[affinity_blogmeta_comment]" id="blog_post_meta_comment" <?php if($option['affinity_blogmeta_comment'] == 'true') { ?>checked="checked"<?php } ?> /><?php if(rok_isIE()) { ?></label><?php } ?>
								<?php if(!rok_isIE()) { ?><label class="blog_post_meta_comment" for="blog_post_meta_comment"></label><?php } ?>
								<a href="#" rel="rokbox[350 50][module=op-blog_post_meta_comment]"><span class="help">Help</span></a>
							</div>
							<div id="op-blog_post_meta_comment" class="rthide">Displays post comments info in meta in the blog view.</div>
						</div>
					</td>
				</tr>
			</table>
			</div>
			
			<div class="inner-tabber">
			<a name="topmenu"></a>
			
			<span class="section-title"><?php _re('Top Menu'); ?></span><br /><br />
		
			<table class="options_table">
				<tr>
					<td class="firstcol">
						<div class="paramfield">
							<div class="paramtext">
								<?php _re('Top Menu:'); ?>
							</div>
							<div class="paramcheck onlycheck">
								<?php if(rok_isIE()) { ?><label class="menutop_enabled"><?php } ?><input type="checkbox" value="true" class="checkbox" name="affinity-options[affinity_topmen]" id="menutop_enabled" <?php if($option['affinity_topmen'] == 'true') { ?>checked="checked"<?php } ?> /><?php if(rok_isIE()) { ?></label><?php } ?>
								<?php if(!rok_isIE()) { ?><label class="menutop_enabled" for="menutop_enabled"></label><?php } ?>
								<a href="#" rel="rokbox[350 70][module=op-menutop_enabled]"><span class="help">Help</span></a>
							</div>
							<div id="op-menutop_enabled" class="rthide">Enable or disable menu in the top part of the site (header).</div>
						</div>
					</td>
					<td class="secondcol">
						<div class="paramfield">
							<div class="paramtext">
								<?php _re('Home Button:'); ?>
							</div>
							<div class="paramcheck onlycheck">
								<?php if(rok_isIE()) { ?><label class="menutop_home_enabled"><?php } ?><input type="checkbox" value="true" class="checkbox" name="affinity-options[affinity_topmen_home]" id="menutop_home_enabled" <?php if($option['affinity_topmen_home'] == 'true') { ?>checked="checked"<?php } ?> /><?php if(rok_isIE()) { ?></label><?php } ?>
								<?php if(!rok_isIE()) { ?><label class="menutop_home_enabled" for="menutop_home_enabled"></label><?php } ?>
								<a href="#" rel="rokbox[350 70][module=op-menutop_home_enabled]"><span class="help">Help</span></a>
							</div>
							<div id="op-menutop_home_enabled" class="rthide">Displays "Home" button in the top menu.</div>
						</div>
					</td>
				</tr>
				<tr>
					<td class="firstcol">
						<div class="paramfield">
							<div class="paramtext">
								<?php _re('Button Sorting:'); ?>
							</div>
							<div class="paramcheck">
								<label class="menutop_sorting">
									<select id="menutop_sorting" name="affinity-options[affinity_topmen_sorting]">
      			   						<option value="post_title" <?php if ($option['affinity_topmen_sorting'] == "post_title") : ?>selected="selected"<?php endif; ?>><?php _re('Page Title'); ?></option>
      			     					<option value="menu_order" <?php if ($option['affinity_topmen_sorting'] == "menu_order") : ?>selected="selected"<?php endif; ?>><?php _re('Page Order'); ?></option>
      			     					<option value="post_date" <?php if ($option['affinity_topmen_sorting'] == "post_date") : ?>selected="selected"<?php endif; ?>><?php _re('Page Date'); ?></option>
      			     					<option value="post_modified" <?php if ($option['affinity_topmen_sorting'] == "post_modified") : ?>selected="selected"<?php endif; ?>><?php _re('Page Modified'); ?></option>
      			     					<option value="ID" <?php if ($option['affinity_topmen_sorting'] == "ID") : ?>selected="selected"<?php endif; ?>><?php _re('Page ID'); ?></option>
      			     					<option value="post_author" <?php if ($option['affinity_topmen_sorting'] == "post_author") : ?>selected="selected"<?php endif; ?>><?php _re('Page Author'); ?></option>      			    				
      			     				</select>
      			     			</label>
      			     			<a href="#" rel="rokbox[350 70][module=op-menutop_sorting]"><span class="help">Help</span></a>
							</div>
							<div id="op-menutop_sorting" class="rthide">Choose by depending on what menu buttons should be displayed.</div>
						</div>
					</td>
					<td class="secondcol">
						<div class="paramfield">
							<div class="paramtext">
								<?php _re('Only Top Level Pages:'); ?>
							</div>
							<div class="paramcheck onlycheck">
								<?php if(rok_isIE()) { ?><label class="menutop_depth"><?php } ?><input type="checkbox" value="1" class="checkbox" name="affinity-options[affinity_topmen_depth]" id="menutop_depth" <?php if($option['affinity_topmen_depth'] == '1') { ?>checked="checked"<?php } ?> /><?php if(rok_isIE()) { ?></label><?php } ?>
								<?php if(!rok_isIE()) { ?><label class="menutop_depth" for="menutop_depth"></label><?php } ?>
								<a href="#" rel="rokbox[350 70][module=op-menutop_depth]"><span class="help">Help</span></a>
							</div>
							<div id="op-menutop_depth" class="rthide">Display only top level pages in the menu.</div>
						</div>
					</td>
				</tr>
			</table>
			</div>
			
			<div class="inner-tabber">
			<a name="footer"></a>
			
			<span class="section-title">Footer</span><br /><br />
		
			<table class="options_table">
				<tr>
					<td class="firstcol">
						<div class="paramfield">
							<div class="paramtext">
								<?php _re('Blogroll:'); ?>
							</div>
							<div class="paramcheck onlycheck">
								<?php if(rok_isIE()) { ?><label class="affinity_footer_blogroll"><?php } ?><input type="checkbox" value="true" class="checkbox" name="affinity-options[affinity_footer_blogroll]" id="affinity_footer_blogroll" <?php if($option['affinity_footer_blogroll'] == 'true') { ?>checked="checked"<?php } ?> /><?php if(rok_isIE()) { ?></label><?php } ?>
								<?php if(!rok_isIE()) { ?><label class="affinity_footer_blogroll" for="affinity_footer_blogroll"></label><?php } ?>
								<a href="#" rel="rokbox[350 70][module=op-affinity_footer_blogroll]"><span class="help">Help</span></a>
							</div>
							<div id="op-affinity_footer_blogroll" class="rthide">Displays blogroll in the footer.</div>
						</div>
					</td>
					<td class="secondcol">
						<div class="paramfield">
							<div class="paramtext">
								<?php _re('Blogroll Order:'); ?>
							</div>
							<div class="paramcheck">
								<label class="affinity_footer_blogroll_order">
									<select id="affinity_footer_blogroll_order" name="affinity-options[affinity_footer_blogroll_order]">
      			   						<option value="ID" <?php if ($option['affinity_footer_blogroll_order'] == "ID") : ?>selected="selected"<?php endif; ?>>ID</option>    	
      			   						<option value="url" <?php if ($option['affinity_footer_blogroll_order'] == "url") : ?>selected="selected"<?php endif; ?>><?php _re('URL'); ?></option> 
      			   						<option value="name" <?php if ($option['affinity_footer_blogroll_order'] == "name") : ?>selected="selected"<?php endif; ?>><?php _re('Name'); ?></option> 
      			   						<option value="target" <?php if ($option['affinity_footer_blogroll_order'] == "target") : ?>selected="selected"<?php endif; ?>><?php _re('Target'); ?></option>
      			   						<option value="rating" <?php if ($option['affinity_footer_blogroll_order'] == "rating") : ?>selected="selected"<?php endif; ?>><?php _re('Rating'); ?></option>
      			   						<option value="updated" <?php if ($option['affinity_footer_blogroll_order'] == "updated") : ?>selected="selected"<?php endif; ?>><?php _re('Updated'); ?></option>
      			   						<option value="rss" <?php if ($option['affinity_footer_blogroll_order'] == "rss") : ?>selected="selected"<?php endif; ?>><?php _re('RSS'); ?></option>
      			   						<option value="lenght" <?php if ($option['affinity_footer_blogroll_order'] == "lenght") : ?>selected="selected"<?php endif; ?>><?php _re('Lenght'); ?></option>
      			   						<option value="rand" <?php if ($option['affinity_footer_blogroll_order'] == "rand") : ?>selected="selected"<?php endif; ?>><?php _re('Random'); ?></option>	    				
      			     				</select>
      			     			</label>
      			     			<a href="#" rel="rokbox[350 70][module=op-affinity_footer_blogroll_order]"><span class="help">Help</span></a>
							</div>
							<div id="op-affinity_footer_blogroll_order" class="rthide">Changes blogroll order in the footer.</div>
						</div>
					</td>
				</tr>
				<tr>
					<td class="firstcol">
						<div class="paramfield">
							<div class="paramtext">
								<?php _re('Blogroll Limit:'); ?>
							</div>
							<div class="paramcheck">
								<label class="affinity_footer_blogroll_limit">
									<input class="textbox" id="affinity_footer_blogroll_limit" type="text" size="3" maxlength="255" name="affinity-options[affinity_footer_blogroll_limit]" value="<?php echo $option['affinity_footer_blogroll_limit']; ?>" />
                   				</label>
                   				<a href="#" rel="rokbox[350 50][module=op-affinity_footer_blogroll_limit]"><span class="help">Help</span></a>
							</div>
							<div id="op-affinity_footer_blogroll_limit" class="rthide">Here you can limit the number of displayed links in blogroll, -1 displays all links.</div>
						</div>
					</td>
					<td class="secondcol">
						<div class="paramfield">
							<div class="paramtext">
								<?php _re('Blogroll Category:'); ?>
							</div>
							<div class="paramcheck">
								<label class="affinity_footer_blogroll_category">
									<input class="textbox" id="affinity_footer_blogroll_category" type="text" size="3" maxlength="255" name="affinity-options[affinity_footer_blogroll_category]" value="<?php echo $option['affinity_footer_blogroll_category']; ?>" />
                   				</label>
                   				<a href="#" rel="rokbox[350 50][module=op-affinity_footer_blogroll_category]"><span class="help">Help</span></a>
							</div>
							<div id="op-affinity_footer_blogroll_category" class="rthide">Comma separated list of numeric Category IDs to be displayed. If none is specified, all Categories with bookmarks are shown.</div>
						</div>
					</td>
				</tr>
			</table>
			</div>
			
			<div class="inner-tabber">
			<a name="dimensions"></a>
			
			<span class="section-title"><?php _re('Dimensions'); ?></span><br /><br />
		
			<table class="options_table">
				<tr>
					<td class="firstcol">
						<div class="paramfield">
							<div class="paramtext">
								<?php _re('Site Width:'); ?>
							</div>
							<div class="paramcheck">
								<label class="site_width">
									<input class="textbox" id="site_width" type="text" size="4" maxlength="255" name="affinity-options[affinity_sitewidth]" value="<?php echo $option['affinity_sitewidth']; ?>" />px
                   				</label>
                   				<a href="#" rel="rokbox[350 70][module=op-site_width]"><span class="help">Help</span></a>
							</div>
							<div id="op-site_width" class="rthide">Here you can change the site width.</div>
						</div>
					</td>
					<td class="secondcol">
						<div class="paramfield">
							<div class="paramtext">
								<?php _re('Left Sidebar Width:'); ?>
							</div>
							<div class="paramcheck">
								<label class="sidebar_left_width">
									<input class="textbox" id="sidebar_left_width" type="text" size="4" maxlength="255" name="affinity-options[affinity_leftsidebar_size]" value="<?php echo $option['affinity_leftsidebar_size']; ?>" />px
                   				</label>
                   				<a href="#" rel="rokbox[350 70][module=op-sidebar_left_width]"><span class="help">Help</span></a>
							</div>
							<div id="op-sidebar_left_width" class="rthide">Here you can change width of the left sidebar.</div>
						</div>
					</td>
				</tr>
				<tr>
					<td class="firstcol">
						<div class="paramfield">
							<div class="paramtext">
								<?php _re('Right Sidebar Width:'); ?>
							</div>
							<div class="paramcheck">
								<label class="sidebar_right_width">
									<input class="textbox" id="sidebar_right_width" type="text" size="4" maxlength="255" name="affinity-options[affinity_rightsidebar_size]" value="<?php echo $option['affinity_rightsidebar_size']; ?>" />px
                   				</label>
                   				<a href="#" rel="rokbox[350 70][module=op-sidebar_right_width]"><span class="help">Help</span></a>
							</div>
							<div id="op-sidebar_right_width" class="rthide">Here you can change width of the right sidebar.</div>
						</div>
					</td>
					<td class="secondcol">
					</td>
				</tr>
			</table>
			</div>
			
			<div class="inner-tabber">
			<a name="rokbox"></a>
			
			<span class="section-title">RokBox</span><br /><br />
		
			<table class="options_table">
				<tr>
					<td class="firstcol">
						<div class="paramfield">
							<div class="paramtext">
								<?php _re('RokBox:'); ?>
							</div>
							<div class="paramcheck onlycheck">
								<?php if(rok_isIE()) { ?><label class="rokbox_enabled"><?php } ?><input type="checkbox" value="true" class="checkbox" name="affinity-options[rokbox_enabled]" id="rokbox_enabled" <?php if($option['rokbox_enabled'] == 'true') { ?>checked="checked"<?php } ?> /><?php if(rok_isIE()) { ?></label><?php } ?>
								<?php if(!rok_isIE()) { ?><label class="rokbox_enabled" for="rokbox_enabled"></label><?php } ?>
								<a href="#" rel="rokbox[350 70][module=op-rokbox]"><span class="help">Help</span></a>
							</div>
							<div id="op-rokbox" class="rthide">RokBox is a mootools powered JavaScript slideshow that allows you to quickly and easily display multiple media formats including images, videos (video sharing services also) and music.</div>
						</div>
					</td>
					<td class="secondcol">
						<div class="paramfield">
							<div class="paramtext">
								<?php _re('RokBox Style:'); ?>
							</div>
							<div class="paramcheck">
								<label class="rokbox_style">
									<select id="rokbox_style" name="affinity-options[rokbox_style]">
      			      					<option value="light" <?php if ($option['rokbox_style'] == "light") : ?>selected="selected"<?php endif; ?>><?php _re('Light'); ?></option>
      			    					<option value="dark" <?php if ($option['rokbox_style'] == "dark") : ?>selected="selected"<?php endif; ?>><?php _re('Dark'); ?></option>
      			    					<option value="mynxx" <?php if ($option['rokbox_style'] == "mynxx") : ?>selected="selected"<?php endif; ?>><?php _re('Mynxx'); ?></option>
                   					</select>
								</label>
								<a href="#" rel="rokbox[350 50][module=op-rokbox-style]"><span class="help">Help</span></a>
							</div>
							<div id="op-rokbox-style" class="rthide">Your media can be displayed using one of the three great styles for RokBox.</div>
						</div>
					</td>
				</tr>
			</table>
			</div>
										
		</div>
		<div class="clr"></div>
		
	</div>