Updated ; Quicklist Icons

Updated : English Phrases
Updated : View Collection rating
This commit is contained in:
Arslan Hassan 2011-01-26 11:54:48 +00:00
parent 2661c4ea63
commit 6f8cabe07d
12 changed files with 21 additions and 23 deletions

View file

@ -16,6 +16,7 @@ if(@$_GET['msg']){
$msg[] = clean($_GET['msg']);
}
$video = mysql_clean($_GET['video']);
//Updating Video Details

View file

@ -1,20 +1,20 @@
{assign var=bgcolor value =F2F2F2}
{assign var=comments value=$myquery->get_comments($id,$type)}
{if $comments}
<table width="99%" border="0" cellpadding="0" cellspacing="0">
<table width="99%" border="0" cellpadding="2" cellspacing="1" style="color:#fff">
<tr>
<td width="35" align="center" class="left_head">CID</td>
<td width="35" class="head">UID</td>
<td width="100" class="head">Username</td>
<td width="150" class="head">Email</td>
<td class="head">Comment</td>
<td width="200" class="head">Date</td>
<td width="70" class="head">Votes</td>
<td width="100" class="head">&nbsp;</td>
<td width="35" height="30" bgcolor="#0066cc">CID</td>
<td width="35" height="30" bgcolor="#0066cc">UID</td>
<td width="100" height="30" bgcolor="#0066cc">Username</td>
<td width="150" height="30" bgcolor="#0066cc">Email</td>
<td height="30" bgcolor="#0066cc">Comment</td>
<td width="200" height="30" bgcolor="#0066cc" >Date</td>
<td width="70" height="30" bgcolor="#0066cc">Votes</td>
<td width="100" height="30" bgcolor="#0066cc">&nbsp;</td>
</tr>
</table>
<div>
<table width="99%" border="0" cellpadding="0" cellspacing="0" >
<table width="99%" border="0" cellpadding="2" cellspacing="1" >
{foreach from=$myquery->get_comments($id,$type) item=comment}
{if $comment.parent_id == 0}

View file

@ -198,8 +198,8 @@ class CBvideo extends CBCategory
$upload_fields = array_merge($required_fields,$location_fields,$option_fields);
//Adding Custom Upload Fields
//if(count($Upload->custom_upload_fields)>0)
//$upload_fields = array_merge($upload_fields,$Upload->custom_upload_fields);
if(count($Upload->custom_upload_fields)>0)
$upload_fields = array_merge($upload_fields,$Upload->custom_upload_fields);
//Adding Custom Form Fields
if(count($Upload->custom_form_fields)>0)
@ -213,6 +213,7 @@ class CBvideo extends CBCategory
if(is_array($_FILES))
$array = array_merge($array,$_FILES);
foreach($upload_fields as $field)
{
$name = formObj::rmBrackets($field['name']);
@ -250,13 +251,9 @@ class CBvideo extends CBCategory
}
#$query = "INSERT INTO video (";
$total_fields = count($query_field);
//Adding Fields to query
$i = 0;
/*for($key=0;$key<$total_fields;$key++)
{
$query .= query_field[$key]." = '".$query_val[$key]."'" ;

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View file

@ -7,7 +7,7 @@
<div id="vid_wrap_{$video.videoid}" class="{if $video_view}{$video_view}{else}grid_view {if $cur_class == 'grid_view'}{else}{$cur_class}{/if}{/if}">
<div class="vid_thumb">
<a href="{videoLink vdetails=$video}"><img src="{getThumb vdetails=$video}" alt="{$video.title}" {ANCHOR place="video_thumb" data=$video} /></a>
<a href="{videoLink vdetails=$video}"><img src="{getThumb vdetails=$video}" title="{$video.title}" alt="{$video.title}" {ANCHOR place="video_thumb" data=$video} /></a>
<span class="vid_time">{$video.duration|SetTime}</span>
<img src="{$imageurl}/dot.gif" class="add_icon" onclick="add_quicklist(this,'{$video.videoid}')" title="Add {$video.title} to Quicklist" alt="Quicklist" />
{if $video.broadcast=='private'}
@ -16,7 +16,7 @@
{ANCHOR place='in_video_thumb' data=$video}
</div> <!--VID_THUMB END-->
<div class="vid_info_wrap">
<h2 class="title truncatedtitle"><a href="{videoLink vdetails=$video}">{$video.title|truncate:40}</a></h2>
<h2 class="title truncatedtitle"><a href="{videoLink vdetails=$video}" title="{$video.title}">{$video.title|truncate:40}</a></h2>
<h2 class="title fulltitle" style="display:none"><a href="{videoLink vdetails=$video}">{$video.title}</a></h2>
<div class="list_raitng">
{show_rating class='rating' rating=$video.rating ratings=$video.rated_by total='10'}

View file

@ -58,7 +58,7 @@
{assign var=rating value=$cbcollection->collection_rating($c.collection_id,$c.type)}
<div class="rating_container">
{show_video_rating rating=$c.rating ratings=$c.rated_by total='10' id=$c.collection_id type=collection}
<div style="text-align:center; font:normal 10px Tahoma;" title="Collection rating is based on it's objects average rating.">How we calculate rating ?</div>
</div>
<div class="actions clearfix" style="float:left; margin:8px 0 0 15px; padding:0px;">
<ul>

View file

@ -190,7 +190,7 @@ span.remember { font-size:10px; }
.vid_thumb { margin:0px; background:#FFF; position:relative; }
.vid_thumb a img { width:110px; height:66px; border:1px solid #ccc; padding:1px;}
.vid_thumb:hover a img { border:1px solid #aaa; }
.vid_thumb .vid_time { position:absolute; bottom:2px; right:2px; padding:1px; background:#333; font-size:9px; color:#FFF; }
.vid_thumb .vid_time { position:absolute; bottom:2px; right:2px; padding:1px; background:#333; font-size:9px; color:#FFF;font-family:tahoma }
.vid_info_wrap { width:100%; display:block; margin:0px; padding:0px; }
@ -642,8 +642,8 @@ ul.upload_opts li.selected { cursor:pointer; background:none; border:1px solid;
/**
* QUCKLIST ICON
*/
.cross_icon,.check_icon,.add_icon{background-image:url(../images/quick_icon.png); height:14px; width:14px; background-position:-0px -14px ; background-repeat:no-repeat; cursor:pointer;position:absolute; left:2px; bottom:2px;}
.check_icon{background-position:0px 0px}
.cross_icon,.check_icon,.add_icon{background-image:url(../images/icons/quicklist_small.png); height:14px; width:14px; background-repeat:no-repeat; cursor:pointer;position:absolute; left:2px; bottom:2px;}
.check_icon{background-image:url(../images/icons/quicklist_check_small.png); }
.cross_icon{background-position:0px -28px; position:relative; z-index:10}
.private_video{background-image:url(../images/private.png); width:110px; height:66px;position:absolute; top:2px; left:2px; border:0px}
.quicklist_box{bottom:0px; right:0px; padding:5px; background-color:#333; width:300px; color:#fff; position:fixed; z-index:1000; border-radius:5px 5px 0px 0px;-moz-border-radius:5px 5px 0px 0px;-webkit-border-radius:5px 5px 0px 0px}