modified!
This commit is contained in:
parent
a1a65be390
commit
0b63a40588
1 changed files with 57 additions and 32 deletions
|
@ -4,7 +4,7 @@
|
|||
<form action="" method="post" name="edit_video" id="edit_video">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="lead">Editing <b>{$data.title}</b>
|
||||
<div class="lead">Editing <b>{$data.title|truncate:80}</b>
|
||||
</div>
|
||||
<div class="tabbable">
|
||||
<ul class="nav nav-tabs" id="myTab">
|
||||
|
@ -67,7 +67,6 @@
|
|||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
<div class="dropdown">
|
||||
<a class="btn btn-primary btn-sm dropdown-toggle pull-right" data-toggle="dropdown" href="">Manage Thumbs <i class="caret"></i></a>
|
||||
<ul class="dropdown-menu pull-right" role="menu" aria-labelledby="dropdownMenu">
|
||||
|
@ -77,7 +76,7 @@
|
|||
<li role="presentation"><a role="menuitem" tabindex="-1" href="upload_thumbs.php?video={$data.videoid}">Manage</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<br><br><br><br>
|
||||
<br><br>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
{assign var=vidthumbs value=get_thumb($data,1,TRUE,FALSE,TRUE,FALSE)}
|
||||
|
@ -146,7 +145,7 @@
|
|||
<table class="table">
|
||||
<tr>
|
||||
<td class="alert-info">
|
||||
<label>{$field.title}</label></td>
|
||||
<label><b>{$field.title|truncate:80}</b></label></td>
|
||||
</tr>
|
||||
</table>
|
||||
{$field.class='form-control'}
|
||||
|
@ -167,7 +166,7 @@
|
|||
<img src="{$userquery->getUserThumb($u,'small')}" class="btn btn-app btn-primary btn-xs" />
|
||||
</div>
|
||||
<div class="table-responsive">
|
||||
{foreach from=$users item=u}
|
||||
|
||||
<table class="table table-bordered">
|
||||
<tr>
|
||||
<td class="alert-info"><label class="alert-info">User Id</label></td>
|
||||
|
@ -179,22 +178,22 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="alert-info"><label class="alert-info">Age</label></td>
|
||||
<td><input class="form-control" disabled="disabled" type="text" value="{$u.dob|niceTime}"></td>
|
||||
<td><input class="form-control" disabled="disabled" type="text" value="{$data.dob|niceTime}"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="alert-info"><label class="alert-info">Email</label></td>
|
||||
<td><input class="form-control" disabled="disabled" type="text" value="{$u.email}"></td>
|
||||
<td><input class="form-control" disabled="disabled" type="text" value="{$data.email}"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="alert-info"><label class="alert-info">Gender</label></td>
|
||||
<td><input class="form-control" disabled="disabled" type="text" value="{$u.sex}"></td>
|
||||
<td><input class="form-control" disabled="disabled" type="text" value="{$data.sex}"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="alert-info"><label class="alert-info">Rating</label></td>
|
||||
<td><input class="form-control" disabled="disabled" type="text" value="{$u.rating}"></td>
|
||||
<td><input class="form-control" disabled="disabled" type="text" value="{$data.rating}"></td>
|
||||
</tr>
|
||||
</table>
|
||||
{/foreach}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -211,7 +210,7 @@
|
|||
|
||||
<div class="col-md-6">
|
||||
<span class="btn btn-app btn-sm btn-light no-hover">
|
||||
<span class="line-height-1 bigger-170 blue">{$data.views}</span>
|
||||
<span class="line-height-1 bigger-170 blue">{$data.views|format_number}</span>
|
||||
<br>
|
||||
<span class="line-height-1 smaller-90"> Views </span>
|
||||
</span>
|
||||
|
@ -250,7 +249,7 @@
|
|||
</span>
|
||||
</div>
|
||||
<div class="col-sm-6 col-md-6 col-lg-6 col x1-12 pull-right">
|
||||
<div class="head">Viewing {$data.title}
|
||||
<div class="head">
|
||||
{FlashPlayer vdetails=$video width='100%' height='100%'}
|
||||
{foreach from=$video_fields item=field_group}
|
||||
{if $field_group.group_name=='Sharing and privacy options'}
|
||||
|
@ -274,7 +273,7 @@
|
|||
{foreach from=$field_group.fields item=field}
|
||||
<div class="table">
|
||||
{$field.class='form-control'}
|
||||
<label><strong>{$field.title}</strong></label><br>
|
||||
<label><strong>{$field.title|truncate:80}</strong></label><br>
|
||||
{if $field.type=='radio'}
|
||||
{$field.class='form-control'}
|
||||
{else}
|
||||
|
@ -299,7 +298,7 @@
|
|||
{foreach from=$field_group.fields item=field}
|
||||
<div class="table">
|
||||
{$field.class='form-control'}
|
||||
<label><strong>{$field.title}</strong></label><br>
|
||||
<label><strong>{$field.title|truncate:80}</strong></label><br>
|
||||
{if $field.type=='radio'}
|
||||
{$field.class='form-control'}
|
||||
{else}
|
||||
|
@ -319,10 +318,34 @@
|
|||
</div>
|
||||
{continue}
|
||||
{/if}
|
||||
<div>
|
||||
{foreach from=$field_group.fields item=field}
|
||||
{if $field.title=='Video Category'}
|
||||
<div>
|
||||
{$field.class='form-control'}
|
||||
<label><strong>{$field.title|truncate:80}</strong></label><br>
|
||||
{if $field.hint_1}
|
||||
{$field.hint_1}
|
||||
{/if}
|
||||
<div class="tab-content scroll">
|
||||
{if $field.type=='radio'}
|
||||
{$field.class='form-control'}
|
||||
{else}
|
||||
{$field.class='form-control'}
|
||||
{/if}
|
||||
|
||||
{$formObj->createField($field)}
|
||||
{if $field.hint_2}<br/>
|
||||
{$field.hint_2}
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
{continue}
|
||||
{/if}
|
||||
<br/>
|
||||
<div class="table">
|
||||
{$field.class='form-control'}
|
||||
<label><strong>{$field.title}</strong></label><br>
|
||||
<label><strong>{$field.title|truncate:80}</strong></label><br>
|
||||
{if $field.type=='radio'}
|
||||
{$field.class='form-control'}
|
||||
{else}
|
||||
|
@ -337,16 +360,18 @@
|
|||
{/if}
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
<div class="widget-box">
|
||||
<div class="widget-header header-color-blue2">
|
||||
|
||||
<h5>{$data.title}- <b>Comments</b></h5>
|
||||
<h5>{$data.title|truncate:80}- <b>Comments</b></h5>
|
||||
|
||||
<div class="widget-toolbar">
|
||||
<a href="#" data-action="reload">
|
||||
|
|
Loading…
Add table
Reference in a new issue