144.patch

jobin dcruz, 08/20/2010 04:51 AM

Download (27.6 KB)

View differences:

admin/editors_pick.php
1
<?php
2
/******************************************************************************
3
 *
4
 * COMPANY: BuyScripts.in
5
 * PROJECT: vShare Youtube Clone
6
 * VERSION: [VSHARE_VERSION]
7
 * LISENSE: http://buyscripts.in/vshare-license.html
8
 * WEBSITE: http://buyscripts.in/youtube_clone.html
9
 *
10
 * This program is a commercial software and any kind of using it must agree
11
 * to vShare license.
12
 *
13
 ******************************************************************************/
14

  
15
require '../include/config.php';
16

  
17
check_admin_login();
18

  
19
$admin_listing_per_page = get_config('admin_listing_per_page');
20
$page = isset($_GET['page']) ? (int) $_GET['page'] : 1;
21

  
22
if ($page < 1)
23
{
24
    $page = 1;
25
}
26

  
27
if (! isset($_GET['sort']) || $_GET['sort'] == '')
28
{
29
    $query = " ORDER BY ep.editors_pick_add_time DESC";
30
}
31
else
32
{
33
    $query = " ORDER BY v.$_GET[sort]";
34
}
35

  
36
$sql = "SELECT count(*) AS `total` FROM `editors_picks`";
37
$result = mysql_query($sql) or mysql_die($sql);
38
$tmp = mysql_fetch_assoc($result);
39
$total = $tmp['total'];
40

  
41
$start_from = ($page - 1) * $admin_listing_per_page;
42

  
43
require 'Pager/Pager.php';
44
require 'Pager/Sliding.php';
45

  
46
$params = array();
47
$params['mode'] = 'Sliding';
48
$params['perPage'] = $admin_listing_per_page;
49
$params['linkClass'] = 'pager';
50
$params['delta'] = 2;
51
$params['totalItems'] = $total;
52
$params['urlVar'] = 'page';
53

  
54
$pager = new Pager_Sliding($params);
55
$data = $pager->getPageData();
56
$links = $pager->getLinks();
57

  
58
$sql = "SELECT v.* FROM `videos` AS `v`,`editors_picks` AS `ep` WHERE
59
        ep.editors_pick_video_id=v.video_id
60
        $query
61
        LIMIT $start_from, $admin_listing_per_page";
62
$result = mysql_query($sql) or mysql_die($sql);
63
$videos = mysql_fetch_all($result);
64

  
65
$smarty->assign('links', $links["all"]);
66
$smarty->assign('total', $total + 0);
67
$smarty->assign('page', $page + 0);
68
$smarty->assign('videos', $videos);
69
$smarty->assign('a', $_GET['a']);
70
$smarty->assign('err', $err);
71
$smarty->assign('msg', $msg);
72
$smarty->display('admin/header.tpl');
73
$smarty->display('admin/editors_pick.tpl');
74
$smarty->display('admin/footer.tpl');
75
db_close();
admin/editors_pick_add.php
1
<?php
2
/******************************************************************************
3
 *
4
 * COMPANY: BuyScripts.in
5
 * PROJECT: vShare Youtube Clone
6
 * VERSION: [VSHARE_VERSION]
7
 * LISENSE: http://buyscripts.in/vshare-license.html
8
 * WEBSITE: http://buyscripts.in/youtube_clone.html
9
 *
10
 * This program is a commercial software and any kind of using it must agree
11
 * to vShare license.
12
 *
13
 ******************************************************************************/
14

  
15
require '../include/config.php';
16

  
17
check_admin_login();
18

  
19
$video_id = isset($_GET['video_id']) ? $_GET['video_id'] : 0;
20

  
21
$sql = "INSERT INTO `editors_picks` SET
22
       `editors_pick_video_id`='" . (int) $video_id . "',
23
       `editors_pick_add_time`='" . (int) $_SERVER['REQUEST_TIME'] . "'";
24
mysql_query($sql) or mysql_die($sql);
25

  
26
db_close();
27

  
28
$redirect_url = VSHARE_URL . '/admin/video_details.php?id=' . $video_id;
29
redirect($redirect_url);
admin/editors_pick_remove.php
1
<?php
2
/******************************************************************************
3
 *
4
 * COMPANY: BuyScripts.in
5
 * PROJECT: vShare Youtube Clone
6
 * VERSION: [VSHARE_VERSION]
7
 * LISENSE: http://buyscripts.in/vshare-license.html
8
 * WEBSITE: http://buyscripts.in/youtube_clone.html
9
 *
10
 * This program is a commercial software and any kind of using it must agree
11
 * to vShare license.
12
 *
13
 ******************************************************************************/
14

  
15
require '../include/config.php';
16

  
17
check_admin_login();
18

  
19
$video_id = isset($_GET['video_id']) ? $_GET['video_id'] : 0;
20

  
21
$sql = "DELETE FROM `editors_picks` WHERE
22
       `editors_pick_video_id`='" . (int) $video_id . "'";
23
mysql_query($sql) or mysql_die($sql);
24

  
25
db_close();
26

  
27
$page = isset($_GET['page']) ? (int) $_GET['page'] : 1;
28

  
29
if ($page < 1)
30
{
31
    $page = 1;
32
}
33

  
34
$sort = isset($_GET['sort']) ? $_GET['sort'] : '';
35

  
36
$redirect_url = VSHARE_URL . '/admin/editors_pick.php?page=' . $page . '&sort=' . $sort;
37
redirect($redirect_url);
admin/menu.php
207 207
        'video_local.php',
208 208
        2
209 209
    ),
210
    
210
    array(
211
        'Editor\'s Pick',
212
        'editors_pick.php',
213
        2
214
    ),
211 215
    array(
212 216
        'View Channels',
213 217
        'channels.php',
admin/settings_home.php
59 59
        $smarty->assign('recently_viewed_video', $_POST['recently_viewed_video']);
60 60
    }
61 61
    
62
    if (is_numeric($_POST['show_editors_pick']))
63
    {
64
        $sql = "UPDATE `config` SET
65
               `config_value`='" . (int) $_POST['show_editors_pick'] . "' WHERE
66
               `config_name`='show_editors_pick'";
67
        mysql_query($sql) or mysql_die($sql);
68
        $smarty->assign('show_editors_pick', $_POST['show_editors_pick']);
69
    }
70
    
62 71
    $sql = "UPDATE `sconfig` SET
63 72
           `svalue`='" . (int) $_POST['show_stats'] . "' WHERE
64 73
           `soption`='show_stats'";
......
68 77
    $msg = $lang['settings_updated'];
69 78
}
70 79

  
80
$smarty->assign('show_editors_pick', get_config('show_editors_pick'));
71 81
$smarty->assign('home_num_tags', get_config('home_num_tags'));
72 82
$smarty->assign('num_last_users_online', get_config('num_last_users_online'));
73 83
$smarty->assign('err', $err);
admin/video_details.php
48 48
                $process_queue_info = mysql_fetch_assoc($result);
49 49
                $smarty->assign('reprocess_id', $process_queue_info['id']);
50 50
            }
51

  
52
        }
53
                    
54
        $sql = "SELECT * FROM `editors_picks` WHERE
55
              `editors_pick_video_id`='" . (int) $vid . "'";
56
        $result = mysql_query($sql) or mysql_die($sql);
57
        $editors_pick = 0;
58
        
59
        if (mysql_num_rows($result) > 0)
60
        {
61
            $editors_pick = 1;
51 62
        }
63
        
64
        $smarty->assign('editors_pick', $editors_pick);
52 65
    }
53 66
    else
54 67
    {
ajax/editors_pick.php
1
<?php
2

  
3
require '../include/config.php';
4
require '../include/class.video_player.php';
5

  
6
$action = isset($_POST['action']) ? $_POST['action'] : '';
7

  
8
if (get_config('show_editors_pick'))
9
{
10
	if ($action == 'show_videos')
11
	{
12
	    $sql = "SELECT v.* FROM `videos` AS `v`,`editors_picks` AS `ep` WHERE
13
	            ep.editors_pick_video_id=v.video_id AND
14
	            v.video_active='1' AND
15
	            v.video_approve='1'
16
	            ORDER BY ep.editors_pick_add_time DESC";
17
	    $result = mysql_query($sql) or mysql_die($sql);
18
	    
19
	    if (mysql_num_rows($result) > 0)
20
	    {
21
	        while ($video = mysql_fetch_assoc($result))
22
	        {
23
	            $video['video_thumb_url'] = $servers[$video['video_thumb_server_id']];
24
	            $videos[] = $video;
25
	        }
26
	        
27
	        $smarty->assign('videos', $videos);
28
	        
29
	        $player = new video_player();
30
	        $config['player_autostart'] = 1;
31
	        $VSHARE_PLAYER = $player->get_player_code($videos[0]['video_id']);
32
	        
33
	        echo '<script type="text/javascript">$("#vshare_player").html("");</script>';
34
	        $smarty->assign('VSHARE_PLAYER', $VSHARE_PLAYER);
35
	        $smarty->assign('action', $action);
36
	        $smarty->display('editors_pick_ajax.tpl');
37
	    }
38
	}
39
	else if ($action == 'play_video')
40
	{
41
	    $sql = "SELECT v.* FROM `videos` AS `v`,`editors_picks` AS `ep` WHERE
42
	            ep.editors_pick_video_id='" . (int) $_POST['video_id'] . "' AND
43
	            ep.editors_pick_video_id=v.video_id";
44
	    $result = mysql_query($sql) or mysql_die($sql);
45
	    
46
	    if (mysql_num_rows($result) > 0)
47
	    {
48
	        $video = mysql_fetch_assoc($result);
49
	        
50
	        $player = new video_player();
51
	        $config['player_autostart'] = 1;
52
	        $VSHARE_PLAYER = $player->get_player_code($_POST['video_id']);
53
	        
54
	        echo '
55
	        <script type="text/javascript">
56
	        $("#vshare_player").html("");
57
	        $("#ep-video-title").html("' . $video['video_title'] . '");
58
	        </script>';
59
	        echo $VSHARE_PLAYER;
60
	    }
61
	}
62
}
63
db_close();
install/sql/upgrade_2.7_to_2.8.sql
47 47
PRIMARY KEY (`playlist_id`)
48 48
);
49 49

  
50
CREATE TABLE IF NOT EXISTS `editors_picks` (
51
  `editors_pick_id` int(11) NOT NULL auto_increment,
52
  `editors_pick_video_id` int(11) NOT NULL,
53
  `editors_pick_add_time` int(11) NOT NULL,
54
  PRIMARY KEY  (`editors_pick_id`)
55
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 ;
56

  
57
INSERT INTO `config` (`config_name` ,`config_value`)VALUES ('show_editors_pick', '1');
58

  
install/sql/vshare.sql
118 118
INSERT INTO `config` (`config_name`, `config_value`) VALUES('guest_upload', '0');
119 119
INSERT INTO `config` (`config_name`, `config_value`) VALUES('guest_upload_user', '');
120 120
INSERT INTO `config` (`config_name`, `config_value`) VALUES('youtube_player', 'youtube');
121
INSERT INTO `config` (`config_name` ,`config_value`) VALUES('show_editors_pick', '1');
121 122

  
122 123
-- Table structure for table `contact`
123 124

  
......
833 834
) ENGINE=MyISAM  DEFAULT CHARSET=utf8;
834 835

  
835 836
-- Dumping data for table `video_responses`
837

  
838
CREATE TABLE IF NOT EXISTS `editors_picks` (
839
  `editors_pick_id` int(11) NOT NULL auto_increment,
840
  `editors_pick_video_id` int(11) NOT NULL,
841
  `editors_pick_add_time` int(11) NOT NULL,
842
  PRIMARY KEY  (`editors_pick_id`)
843
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 ;
844

  
845
-- Dumping data for table `editors_picks`
846

  
js/editors_pick.js
1
$(document).ready(function(){
2
    $("div#editors-pick-box").html('<center><br /><br /><br /><img src="' + baseurl + '/templates/images/loading.gif" align="center" /></center>').show();
3
    
4
    var sUrl = baseurl + "/ajax/editors_pick.php";
5
    var postData = "action=show_videos";
6
    $.ajax({
7
        type: "POST",
8
        url: sUrl,
9
        data: postData,
10
        dataType: 'html',
11
        success: function(msg){
12
    		if (msg != '')
13
    		{
14
    			$("div#editors-pick-box").html(msg).show();
15
    		}
16
    		else
17
    		{
18
    			$("div#editors-pick-box").hide();
19
    		}
20
        },
21
        error: function(){
22
            //alert('Connection Failed.');
23
        }
24
    });
25
});
templates/admin/editors_pick.tpl
1
<h1>Editor's Picks ({$total})</h1>
2

  
3
<table cellspacing="1" cellpadding="3"  width="100%" border="0">
4
    <tr class="tabletitle">
5
        <td>
6
            <b>ID</b>
7
            <a href="editors_pick.php?a={$smarty.request.a}&status={$smarty.request.status}&sort=video_id+asc&page={$page}">
8
                <img src="{$img_css_url}/images/up.gif" border="0" alt="" />
9
            </a>
10
            <a href="editors_pick.php?a={$smarty.request.a}&status={$smarty.request.status}&sort=video_id+desc&page={$page}">
11
                <img src="{$img_css_url}/images/down.gif" border="0" alt="" />
12
            </a>
13
        </td>
14
        
15
        <td>
16
            <b>Title</b>
17
            <a href="editors_pick.php?a={$smarty.request.a}&status={$smarty.request.status}&sort=video_title+asc&page={$page}">
18
                <img src="{$img_css_url}/images/up.gif" border="0" alt="" />
19
            </a>
20
            <a href="editors_pick.php?a={$smarty.request.a}&status={$smarty.request.status}&sort=video_title+desc&page={$page}">
21
                <img src="{$img_css_url}/images/down.gif" border="0" alt="" />
22
            </a>
23
        </td>
24
        <td>
25
            <b>Type</b>
26
            <a href="editors_pick.php?a={$smarty.request.a}&status={$smarty.request.status}&sort=video_type+asc&page={$page}">
27
                <img src="{$img_css_url}/images/up.gif" border="0" alt="" />
28
            </a>
29
            <a href="editors_pick.php?a={$smarty.request.a}&status={$smarty.request.status}&sort=video_type+desc&page={$page}">
30
                <img src="{$img_css_url}/images/down.gif" border="0" alt="" />
31
            </a>
32
        </td>
33
        <td>
34
            <b>Duration</b>
35
            <a href="editors_pick.php?a={$smarty.request.a}&status={$smarty.request.status}&sort=video_duration+asc&page={$page}">
36
                <img src="{$img_css_url}/images/up.gif" border="0" alt="" />
37
            </a>
38
            <a href="editors_pick.php?a={$smarty.request.a}&status={$smarty.request.status}&sort=video_duration+desc&page={$page}">
39
                <img src="{$img_css_url}/images/down.gif" border="0" alt="" />
40
            </a>
41
        </td>
42
        <td>
43
            <b>Featured</b>
44
            <a href="editors_pick.php?a={$smarty.request.a}&status={$smarty.request.status}&sort=video_featured+asc&page={$page}">
45
                <img src="{$img_css_url}/images/up.gif" border="0" alt="" />
46
            </a>
47
            <a href="editors_pick.php?a={$smarty.request.a}&status={$smarty.request.status}&sort=video_featured+desc&page={$page}">
48
                <img src="{$img_css_url}/images/down.gif" border="0" alt="" />
49
            </a>
50
        </td>
51
        <td align="center">
52
            <b>Action</b>
53
        </td>
54
    </tr>
55
    
56
    {section name=aa loop=$videos}
57
        <tr class="{cycle values="tablerow1,tablerow2"}">
58
            <td>{$videos[aa].video_id}</td>
59
            <td><a href="video_details.php?a={$a}&id={$videos[aa].video_id}&page={$page}">{$videos[aa].video_title}</a></td>
60
            <td align="center">{$videos[aa].video_type}</td>
61
            <td align="center">{$videos[aa].video_length}</td>
62
            <td align="center">{$videos[aa].video_featured}</td>
63
            <td align="center">
64
                <a href="editors_pick_remove.php?video_id={$videos[aa].video_id}&page={$page}&sort={$smarty.request.sort}">
65
                    Remove
66
                </a>
67
            </td>
68
        </tr>
69
    {/section}
70
</table>
71

  
72
{if $links ne ""}
73
    <div class="margin-tb-1em">{$links}</div>
74
{/if}
templates/admin/settings_home.tpl
39 39
            <option value="0" {if $show_stats eq "0"}selected="selected"{/if}>Disable</option>
40 40
        </select>
41 41
    </div>
42
    
43
    <div>
44
        <label for="show_editors_pick">Show Editor's Pick:</label>
45
        <select name="show_editors_pick" id="show_editors_pick">
46
            <option value="1" {if $show_editors_pick eq "1"}selected="selected"{/if}>Enable</option>
47
            <option value="0" {if $show_editors_pick eq "0"}selected="selected"{/if}>Disable</option>
48
        </select>
49
    </div>
42 50

  
43 51
    <div class="submit">
44 52
        <input type="submit" name="submit" value="Update" />
templates/admin/video_details.tpl
104 104
            {/if}
105 105
        {/if}
106 106
        <a href="video_edit.php?video_id={$video.video_id}&a={$a}&page={$smarty.request.page}">Edit</a> &nbsp;
107
        <a href="video_delete.php?id={$video.video_id}" onclick="Javascript:return confirm('Are you sure you want to delete?');">Delete</a>
107
        <a href="video_delete.php?id={$video.video_id}" onclick="Javascript:return confirm('Are you sure you want to delete?');">Delete</a>&nbsp;
108
        {if $video.video_type eq "public"}
109
            {if $editors_pick eq '0'}
110
                <a href="editors_pick_add.php?video_id={$video.video_id}">Add to Editor's Pick</a>
111
            {else}
112
                <a href="editors_pick_remove.php?video_id={$video.video_id}">Remove from Editor's Pick</a>
113
            {/if}
114
        {/if}
108 115
    </div>
109 116

  
110 117
</div>
templates/css/black/black.css
1337 1337
    padding: 0.4166em 0.6666em;
1338 1338
    text-decoration: none;
1339 1339
    white-space: nowrap;
1340
}
1340
}
1341
/*Editors picks*/
1342

  
1343
div#editors-pick-box {
1344
    color: #888888;
1345
	border: 1px solid #272727;
1346
    background:-moz-linear-gradient(left top , #0A0A0A, #161616);
1347
    background: #0A0A0A -webkit-gradient(linear, 0% 0%, 0% 100%, from(#0A0A0A), color-stop(0.5, #161616), to(#161616));
1348
}
1349
div.editors-pick-video-lists {
1350
    border-color: #272727;
1351
    border-style: solid;
1352
    border-width: 0 1px 1px;
1353
}
templates/css/style.css
2192 2192
	padding: 0.4166em 0.6666em;
2193 2193
	text-decoration: none;
2194 2194
	white-space: nowrap;
2195
}
2195
}
2196
/*Editors picks*/
2197

  
2198
div#editors-pick-box {
2199
    border: 1px solid #DFDFDF;
2200
    -moz-border-radius: 5px;
2201
    -webkit-border-radius: 5px;
2202
    -o-border-radius: 5px;
2203
    color: #575757;
2204
    padding: 4px;
2205
    background: -moz-linear-gradient(top left, #BCDAF7, #E1E4F2);
2206
    background: #BCDAF7 -webkit-gradient(linear, 0% 0%, 0% 100%, from(#BCDAF7), color-stop(0.5, #E1E4F2), to(#E1E4F2));
2207
}
2208
div#editors-pick-box .hd {
2209
	border: 0;
2210
}
2211
div#editors-pick-box .hd-r {
2212
	margin-right: 0;
2213
}
2214
div.ep-content {
2215
	height: 272px;
2216
	width: 100%;
2217
	overflow: hidden;
2218
}
2219
div.ep-videos {
2220
	width: 100%;
2221
	height: 100%;
2222
}
2223
#editors-pick-box div#editors-pick-player {
2224
    width: 58%;
2225
    height:100%;
2226
    float: left;
2227
}
2228
#editors-pick-box div#editors-pick-player p {
2229
    width: 100%;
2230
    height: 100%;
2231
    margin: 0;
2232
    padding: 0;
2233
}
2234
div#editors-pick-player embed,div#editors-pick-player object {
2235
    width: 100%;
2236
    height: 100%;
2237
}
2238
#editors-pick-box div#editors-pick-videos {
2239
    width: 41.5%;
2240
    height: 100%;
2241
    overflow: auto;
2242
    float: right;
2243
}
2244
div.editors-pick-video-lists {
2245
    width: 99%;
2246
    cursor: pointer;
2247
	float: left;
2248
	border-color: #6EB1F5;
2249
	border-style: solid;
2250
	border-width: 0 1px 1px;
2251
	margin-left: 1px;
2252
}
2253
div.editors-pick-video-lists div {
2254
    margin: 3px;
2255
	float: left;
2256
}
2257
div#editors-pick-videos span.video-title {
2258
    font-weight: bold;
2259
}
templates/editors_pick_ajax.tpl
1
<div class="hd">
2
    <div class="hd-l"><span id="ep-video-title">{$videos[0].video_title|truncate:40}</span>::Editor's Pick Videos</div>
3
    <div class="hd-r">
4
        <img src="{$img_css_url}/images/less-info-btn.gif" id="up" style="cursor: pointer;" />
5
        <img src="{$img_css_url}/images/more-info-btn.gif" id="down" style="cursor: pointer;display:none;" />
6
    </div>
7
</div>
8
<div class="ep-content">
9
	<div class="ep-videos" id="ep-videos">
10
		<div id="editors-pick-player">
11
		    {$VSHARE_PLAYER}
12
		</div>
13
		
14
		<div id="editors-pick-videos">
15
		    {section name=i loop=$videos}
16
		        <div class="editors-pick-video-lists" id="{$videos[i].video_id}" rel="video-list">
17
		            <div>
18
		                <img width="50" height="40" alt="{$videos[i].video_title}" src="{$videos[i].video_thumb_url}/thumb/{$videos[i].video_folder}1_{$videos[i].video_id}.jpg"/>
19
		            </div>
20
		            <div>
21
		                <span class="video-title">{$videos[i].video_title|truncate:40}</span><br />
22
		                <span><strong>{$videos[i].video_view_number}</strong> views, <strong>{$videos[i].video_com_num}</strong> comments</span>
23
		            </div>
24
		        </div>
25
		    {/section}
26
		</div>
27
	</div>
28
</div>
29

  
30
{literal}
31
<script type="text/javascript">
32
$(document).ready(function(){
33
	$("div#editors-pick-videos div[rel='video-list']:eq(0)").addClass("ep-selected");
34
	$("div#editors-pick-videos div[rel='video-list']").each(function(){
35
		$(this).click(function(){
36
			$("div#editors-pick-player").html('<center><br /><br /><br /><img src="' + baseurl + '/templates/images/loading.gif" align="center" /></center>').show();
37
			$("div#editors-pick-videos div[rel='video-list']").removeClass("ep-selected");
38
			$(this).addClass("ep-selected");
39
			
40
			var ep_video_id = $(this).attr("id");
41
			var sUrl = baseurl + "/ajax/editors_pick.php";
42
			var postData = "action=play_video&video_id=" + ep_video_id;
43
			
44
			$.ajax({
45
				type: "POST",
46
				url: sUrl,
47
				data: postData,
48
				dataType: 'html',
49
				success: function(msg){
50
			    $("div#editors-pick-player").html(msg).show();
51
                },
52
                error: function(){
53
                    //alert('Connection Failed.');
54
                }
55
            });
56
        });
57
    });
58
    
59
    $("#up").click(function(){
60
        $("div.ep-content").slideUp("fast",function(){
61
            $("#up").hide();
62
            $("#down").show();
63
        });
64
    });
65

  
66
    $("#down").click(function(){
67
        $("div.ep-content").animate({
68
            'height': $("div.ep-content").css('height')
69
        },1000,function(){
70
        	$("#up").show();$("#down").hide();
71
        });
72
    });
73
});
74
</script>
75
{/literal}
templates/index.tpl
4 4
        <div id="flash_recent_videos" align="center"></div>
5 5
    </center>
6 6

  
7
    <div id="watch-uplod-share" class="clearfix">
8

  
9
        <div class="watch">
10
            <a href="{$base_url}/recent/"><span>Watch</span></a>
11
            Better than TV watch what you want when you want it!
12
        </div>
13

  
14
        <div class="uplod">
15
            <a href="{$base_url}/upload/"><span>Upload</span></a>
16
            Quickly upload and tag videos in almost any video format.
17
        </div>
18

  
19
        <div class="share">
20
            <a href="{$base_url}/friends/invite/"><span>Share</span></a>
21
            Easily share your videos with everyone, put videos on your space or watch them here.
22
        </div>
23
   
24
     </div>
7
    <div class="section bg2 clearfix" id="editors-pick-box" style="display: none;"></div>
25 8
    
26 9
    <!-- new videos -->
27 10
    
templates/index_js.tpl
3 3
</script>
4 4
<script type="text/javascript" src="{$base_url}/js/poll.js"></script>
5 5
<script type="text/javascript" src="{$base_url}/player/swfobject.js"></script>
6
<script type="text/javascript" src="{$base_url}/js/index.js"></script>
6
<script type="text/javascript" src="{$base_url}/js/index.js"></script>
7
<script type="text/javascript" src="{$base_url}/js/editors_pick.js"></script>
7
-