PATH:
home
/
letacommog
/
letaweb
/
protected
/
views
/
site
<div id="template_categroy"> <h1>Templates</h1> <div class="template_categroy_wrap"> <div class="template_categroy_box"> <ul class="template_category_list"> <?php $currentCategory = isset($_REQUEST['cat']) ? $_REQUEST['cat'] : 0; ?> <li><a class="<?php echo $currentCategory == 0 ? 'active' : '' ?>" href="?catname=all">All</a></li> <?php foreach ($categories as $c): ?> <li><a class="<?php echo $c->id == $currentCategory ? 'active' : '' ?>" href="<?php echo '?cat='.$c->id.'&catname='.$c->name; ?>"><?php echo $c->display_name ?></a></li> <?php endforeach; ?> </ul> </div> </div> </div> <div id="template_list"> <div class="template_list_wrap"> <div class="template_list_box"> <?php if (isset($templates)): ?> <?php foreach ($templates as $template): ?> <div class="template_item"> <div class="template_name"> <?php echo $template->display_name; ?> </div> <div class="template_preview"> <img src="http://static.wix.com/media/d9440c0007cb3578d7f48c465c58347e.wix_mp" /> </div> <div style="margin:5px 0;"> <div class="template_buttons"> <?php echo CHtml::link('Edit', array('template/update?id='.$template->id), array('target' => '_blank')); ?> <?php echo CHtml::link('Create', '#create_new_template_form'.$template->id, array('class' => 'btn_create_new_template')); ?> <?php echo CHtml::link('Preview', array('viewtemplate?id='.$template->id), array('target' => '_blank')); ?> </div> <div class="template_price"> <label>Price</label>: <span class="price"><?php echo $template->price; ?>$</span> </div> </div> <div style="display:none"> <div class="form_overlay" id="create_new_template_form<?php echo $template->id; ?>"> <div class="form_wrap"> <form action="<?php echo Yii::app()->createUrl('template/create') ?>" method="post" target="_blank"> <div class="row"> <label>Template name</label> <input name="template_name" type="text" /> <input name="template_id" type="hidden" value="<?php echo $template->id; ?>" /> <input type="submit" value="Create" /> </div> </form> </div> </div> </div> </div> <?php endforeach; ?> <?php endif;?> </div> </div> </div>
[+]
..
[-] top_content.php
[edit]
[-] create.php
[edit]
[-] forgot.php
[edit]
[-] signup_complete.php
[edit]
[-] help_category.php
[edit]
[-] template.php
[edit]
[-] index.php
[edit]
[-] slider.php
[edit]
[-] build.php
[edit]
[-] resent_active_mail.php
[edit]
[-] login.php
[edit]
[-] error.php
[edit]
[-] recover_success.php
[edit]
[-] active_success.php
[edit]
[-] help.php
[edit]
[-] page.php
[edit]
[-] recover.php
[edit]
[-] features.php
[edit]
[-] active_mail_send_success.php
[edit]
[-] create_template.php
[edit]
[-] active_fail.php
[edit]
[-] forgot_password_email_sent.php
[edit]
[-] social.php
[edit]
[-] price.php
[edit]
[-] signup.php
[edit]
[-] help_form.php
[edit]
[-] contact.php
[edit]
[-] templates.php
[edit]