Exemple #1
0
	<div id="slider_wraper">
		<div class="wrap_980">
		<?php 
    wip_get_nivo_images();
    ?>
	
		</div><!-- .wrap_940 -->
	</div>
	<!-- END SLIDER -->
<?php 
}
?>
	
	
	<!-- MAIN SECTION -->
	<div id="main-inner-site"<?php 
if (_wipfr_homeslider_inactive()) {
    echo ' class="no-slider"';
}
?>
>
		
	<?php 
wip_get_index_HTML();
?>
		
	</div>
	<!-- END MAIN SECTION -->
	
<?php 
get_footer();
    function _create_content()
    {
        ?>
		
		<div id="columns-lists">
			<h3><?php 
        print __('Layouts', 'wip');
        ?>
</h3>
			
			<ul>
				<?php 
        foreach ($this->_column_modules as $x => $k) {
            ?>
				<li>
					<span id="<?php 
            echo $x;
            ?>
" class="col_insert">
						<?php 
            print $k['title'];
            ?>
						<img class="waiting" src="<?php 
            echo admin_url('images/wpspin_light.gif');
            ?>
" alt="" />
						<a href="#" class="anchor_insert_cols" title="<?php 
            print __('Insert', 'wip');
            ?>
">+</a>
					</span>
				</li>
				<?php 
        }
        ?>
			</ul>
			
		</div>
		
		
		<div id="the_layout">
		<form id="wip-form-layout"  action="" method="post" enctype="multipart/form-data">
			<div id="layout_info">
				<h3><?php 
        _e('Current Homepage Content', 'wip');
        ?>
</h3>
				<div class="topper">
					<input type="submit" name="save_wip_layout" class="wip-layout-sent" value="<?php 
        _e('Save Changes', 'wip');
        ?>
"/>
				</div>
			</div>
		
			<div class="wip-layout-inner">
				
				<div id="wip-slider-placement" class="wip-layout-item wip-layout-edit-active">
					<dl class="wip-layout-item-bar">
						<dt class="wip-layout-item-handle">
							<span class="layout-title"><?php 
        print __('Homepage Slider', 'wip');
        ?>
</span>
							<a class="wip-edit-layout-item" title="<?php 
        print __('Edit', 'wip');
        ?>
" href="#wip-layout-item-settings-0"><?php 
        print __('Edit', 'wip');
        ?>
</a>
						</dt>
					</dl>
					
					<div class="wip-layout-item-settings" id="wip-layout-item-settings-0">
						<p>
						<input type="checkbox" name="home-slider-off" id="home-slider-off"<?php 
        if (_wipfr_homeslider_inactive()) {
            echo ' checked="checked"';
        }
        ?>
/>
						<label for="home-slider-off"><?php 
        print __('Turn off the homepage slider?', 'wip');
        ?>
</label>
						</p>						
						<p><small><?php 
        printf(__('You can manage the homepage slider settings and image on the <a href="%s">theme settings</a> page', 'wip'), admin_url('admin.php?page=wip-panel#slider_settings'));
        ?>
</small></p>
						<input type="hidden" name="parent_id[0]" value="0"/>
					</div>
				</div><!-- end #wip-slider-placement -->
				
				<div id="wip-layout-placement">
					<span class="layout-tit-top"><?php 
        _e('Homepage Content', 'wip');
        ?>
</span>
					
					
					<div id="actual-layout">
					
						<?php 
        echo $this->_print_current_layout_db();
        ?>
					
					</div>
				
				</div><!-- end #wip-layout-placement -->
				
				

			</div>
			
			<div id="wip-layout-form-executor">
				<input type="submit" name="save_wip_layout" class="wip-layout-sent" value="<?php 
        _e('Save Changes', 'wip');
        ?>
"/>
				<input type="hidden" name="action" value="save_layout" />
				<input type="hidden" name="layoutID" value="wip_home_manager" />
			</div>
		</form>
		</div>
		
		
		<div class="clear"></div>
		
	<?php 
    }