Файл: Application/themes/default/html/dashboard-myvideos.php
Строк: 59
<?php
$this->load_template('_header.php');
$this->load_template('_top.php');
?>
<script type="text/javascript" src="<?php echo $C->SITE_URL?>themes/<?php echo $C->THEME ?>/js/js_dashboard.js"></script>
<div id="generalspace">
<div id="container">
<div id="column1"><?php $this->load_template('_verticalmenu-dashboard.php'); ?></div>
<div id="column2">
<div id="dashboard2">
<?php $this->load_template('_writestatus-hide.php');?>
<?php if (!empty($D->htmlResult)) { ?>
<div class="spaceWhite" id="_bwritest">
<div class="title fleft"><?php echo $this->lang('dashboard_myvideos_title'); ?></div>
<div class="fright"><button id="bshowwrite" name="bshowwrite" type="button" class="btn btn-green"><?php echo $this->lang('dashboard_txt_buton_addpost')?></button></div>
<div class="sh"></div>
</div>
<div><?php echo $D->htmlResult; ?></div>
<?php if ($D->totalposts > $C->NUM_ACTIVITIES_PAGE) { ?>
<div id="moreitems"></div>
<div><input name="numitems" type="hidden" id="numitems" value="<?php echo $D->numitems?>" /></div>
<div id="moreitemsbar" class="mrg30T mrg10B">
<div class="centered">
<span id="bmore" class="bwhite rounded"><?php echo $this->lang('global_txt_morestories')?></span>
<span id="morepreload" class="hide"><img src="<?php echo $C->SITE_URL?>themes/<?php echo $C->THEME ?>/imgs/preload.gif" /></span>
</div>
</div>
<script>
var idu = <?php echo $this->user->id ?>;
var itemperpage = <?php echo $C->NUM_ACTIVITIES_PAGE ?>;
$('#bmore').click(function(){
reloadinfo('videos');
return false;
});
</script>
<?php } ?>
<?php } else {?>
<div class="boxdash" id="_bwritest">
<div class="title"><?php echo $this->lang('dashboard_myvideos_title'); ?></div>
<div class="spaceinfo">
<div id="_areanoitem" class="centered txtsize01 mrg10T"><?php echo $this->lang('dashboard_myphotos_novideos');?></div>
<div class="centered mrg20T mrg20B"><button id="bshowwrite" name="bshowwrite" type="button" class="btn btn-green"><?php echo $this->lang('dashboard_txt_buton_addpost')?></button></div>
</div>
</div>
<?php } ?>
</div>
</div>
<script>
$('#bshowwrite').click(function(){
$('#bshowwrite').attr('disabled','true');
$('#_bwritest').slideUp('slow', function(){
$('#_writestatus').slideDown('slow', function(){
$('#_areanoitem').slideUp('slow');
});
});
})
</script>
<div id="divseparator" class="sh"></div>
<div id="column3"><?php $this->load_template('_accessories-dashboard.php'); ?></div>
<div class="sh"></div>
</div>
</div>
<?php
$this->load_template('_foot.php');
$this->load_template('_footer.php');
?>