2009-11-16 11:55:31 +00:00
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
|
|
<!-- ClipBucket v2 -->
|
|
|
|
<meta name="copyright" content="ClipBucket - PHPBucket ClipBucket 2007 - {$smarty.now|date_format:"%Y"}" />
|
2009-12-31 08:59:12 +00:00
|
|
|
<meta name="author" content="Arslan Hassan - http://clip-bucket.com/arslan-hassan" />
|
2009-12-21 21:11:54 +00:00
|
|
|
<link rel="shortcut icon" href="{$baseurl}/favicon.ico">
|
2009-12-31 08:59:12 +00:00
|
|
|
<link rel="icon" type="image/ico" href="{$baseurl}/favicon.ico" />
|
2010-01-19 06:45:35 +00:00
|
|
|
|
|
|
|
<!-- RSS FEEDS -->
|
|
|
|
{rss_feeds link_tag=true}
|
|
|
|
|
2010-01-16 08:02:43 +00:00
|
|
|
<meta name="keywords" content="{$Cbucket->configs.keywords}" />
|
|
|
|
<meta name="description" content="{$Cbucket->configs.description}" />
|
2009-11-16 11:55:31 +00:00
|
|
|
<meta name="distribution" content="global" />
|
|
|
|
|
|
|
|
|
2009-12-31 08:59:12 +00:00
|
|
|
<title>{cbtitle}</title>
|
2009-11-16 11:55:31 +00:00
|
|
|
|
|
|
|
<link href="{$theme}/main.css" rel="stylesheet" type="text/css" />
|
|
|
|
|
2009-12-21 21:11:54 +00:00
|
|
|
<!-- Setting Template Variables -->
|
|
|
|
{php}
|
|
|
|
if(!$_COOKIE['current_style'])
|
2010-01-14 13:15:23 +00:00
|
|
|
$_COOKIE['current_style'] = 'grid_view';
|
2009-12-21 21:11:54 +00:00
|
|
|
{/php}
|
|
|
|
<!-- Setting Template Variables -->
|
2009-11-16 11:55:31 +00:00
|
|
|
|
|
|
|
|
2009-12-31 08:59:12 +00:00
|
|
|
<script type="text/javascript">
|
2009-11-16 11:55:31 +00:00
|
|
|
var baseurl = '{$baseurl}';
|
|
|
|
var imageurl = '{$imageurl}';
|
|
|
|
{if $upload_form_name !=''}
|
|
|
|
var upload_form_name = '{$upload_form_name}';
|
|
|
|
function submit_upload_form()
|
|
|
|
{literal}
|
|
|
|
{
|
|
|
|
{/literal}
|
|
|
|
document.{$upload_form_name}.submit();
|
|
|
|
{literal}
|
|
|
|
}
|
|
|
|
{/literal}
|
|
|
|
{/if}
|
|
|
|
</script>
|
2009-12-29 18:15:35 +00:00
|
|
|
|
2009-11-16 11:55:31 +00:00
|
|
|
<!-- Including JS Files-->
|
2010-01-25 13:18:18 +00:00
|
|
|
{foreach from=$Cbucket->JSArray item=type}
|
|
|
|
{foreach from=$type item=scope key=file}
|
|
|
|
{include_js type=$scope file=$file}
|
|
|
|
{/foreach}
|
2009-11-16 11:55:31 +00:00
|
|
|
{/foreach}
|
|
|
|
<!-- Including JS Files-->
|
|
|
|
|
2010-12-14 13:53:51 +00:00
|
|
|
{include_header file='global_header'}
|
2009-11-16 11:55:31 +00:00
|
|
|
|
|
|
|
<!-- Including Headers -->
|
|
|
|
{foreach from=$Cbucket->header_files key=file item=type}
|
|
|
|
{if $curActive == $type || $type=='global' }
|
|
|
|
{include file="$file"}
|
|
|
|
{/if}
|
|
|
|
{/foreach}
|
|
|
|
<!-- Ending Headers -->
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Including Plugin Headers -->
|
2010-11-13 12:12:56 +00:00
|
|
|
{foreach key=file item=type from=$Cbucket->header_files}
|
|
|
|
{include_header file=$file type=$type}
|
2009-11-30 19:46:45 +00:00
|
|
|
{/foreach}
|
2009-11-16 11:55:31 +00:00
|
|
|
<!-- Including Plugin Headers -->
|
|
|
|
|
|
|
|
{if $smarty.const.THIS_PAGE =='private_message' && $smarty.get.mid}
|
|
|
|
<script type="text/javascript">
|
|
|
|
var mid = {$smarty.get.mid};
|
|
|
|
{literal}
|
|
|
|
window.onload = function() {
|
2010-01-25 13:18:18 +00:00
|
|
|
$('#messages_container').scrollTo( '#message-'+mid, 800 );
|
2009-11-16 11:55:31 +00:00
|
|
|
}
|
|
|
|
{/literal}
|
|
|
|
</script>
|
|
|
|
{/if}
|
|
|
|
|
2010-11-13 12:12:56 +00:00
|
|
|
<!-- Including Common Js -->
|
2010-12-14 13:53:51 +00:00
|
|
|
|
2010-11-13 12:12:56 +00:00
|
|
|
<!-- End Including Common Js -->
|
|
|
|
|
2009-11-16 11:55:31 +00:00
|
|
|
{literal}
|
|
|
|
<script type="text/javascript">
|
2010-06-25 11:02:15 +00:00
|
|
|
|
2010-11-13 12:12:56 +00:00
|
|
|
$(document).ready(function() {
|
2009-11-16 11:55:31 +00:00
|
|
|
$('.user_login').hide();
|
|
|
|
|
|
|
|
$('#user_login').toggle(
|
|
|
|
function() {
|
|
|
|
$('.user_login').slideDown('normal');
|
|
|
|
},
|
|
|
|
function() {
|
|
|
|
$('.user_login').slideUp('normal');
|
|
|
|
}
|
|
|
|
|
|
|
|
);
|
2010-11-13 12:12:56 +00:00
|
|
|
|
2009-11-30 19:46:45 +00:00
|
|
|
$('.tabs li').click(
|
|
|
|
function() {
|
|
|
|
$('.tabs li').removeClass('selected')
|
|
|
|
$(this).addClass('selected');
|
|
|
|
}
|
|
|
|
);
|
2010-01-25 07:41:17 +00:00
|
|
|
$('#lang_selector').click(function(){
|
2010-11-13 12:12:56 +00:00
|
|
|
//do redirection
|
2010-01-25 07:41:17 +00:00
|
|
|
});
|
2009-12-04 21:03:27 +00:00
|
|
|
|
2010-11-13 12:12:56 +00:00
|
|
|
$('#lang_selector').change(function(){
|
|
|
|
var optionSelectedValue = $('#lang_selector option:selected').val();
|
|
|
|
if(optionSelectedValue)
|
|
|
|
window.location = "?set_site_lang="+optionSelectedValue;
|
|
|
|
});
|
|
|
|
get_video('recent_viewed_vids','#index_vid_container');
|
2010-12-14 13:53:51 +00:00
|
|
|
|
2010-11-13 12:12:56 +00:00
|
|
|
|
|
|
|
});
|
2009-12-04 21:03:27 +00:00
|
|
|
|
2010-11-13 12:12:56 +00:00
|
|
|
function ToggleView(obj) {
|
|
|
|
var obj = $(obj),
|
|
|
|
obj_id = obj.attr('id'),
|
|
|
|
parent = obj.parent().attr('id'),
|
|
|
|
target = $("#"+parent).next().attr('id');
|
|
|
|
//alert('#'+parent+' #'+target+' .grid_view');
|
|
|
|
if(obj_id == "grid") {
|
|
|
|
$('#'+parent+' + #'+target+' .grid_view').removeClass('list_view');
|
|
|
|
$.cookie("current_style","grid_view")
|
|
|
|
$('.vid_sp').hide();
|
|
|
|
} else {
|
|
|
|
$('#'+parent+' + #'+target+' .grid_view').addClass('list_view');
|
|
|
|
$.cookie("current_style","list_view")
|
|
|
|
$('.vid_sp').show();
|
|
|
|
}
|
|
|
|
}
|
2010-01-14 13:15:23 +00:00
|
|
|
|
2009-11-16 11:55:31 +00:00
|
|
|
</script>
|
|
|
|
{/literal}
|
2010-04-26 15:17:37 +00:00
|
|
|
{literal}
|
|
|
|
<!--[if lte IE 6]>
|
|
|
|
<style type="text/css">
|
|
|
|
.clearfix { height: 1%; }
|
|
|
|
</style>
|
|
|
|
<![endif]-->
|
|
|
|
{/literal}
|
2010-04-26 14:54:40 +00:00
|
|
|
<!--[if IE 7]>
|
|
|
|
<link href="{$theme}/ie7.css" rel="stylesheet" type="text/css" />
|
|
|
|
<![endif]-->
|
2010-12-14 13:53:51 +00:00
|
|
|
{literal}
|
|
|
|
<script type="text/javascript">
|
2010-04-26 14:54:40 +00:00
|
|
|
|
2010-12-14 13:53:51 +00:00
|
|
|
/***********************************************
|
|
|
|
* Bookmark site script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
|
|
|
|
* This notice MUST stay intact for legal use
|
|
|
|
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
|
|
|
|
***********************************************/
|
|
|
|
|
|
|
|
/* Modified to support Opera */
|
|
|
|
function bookmarksite(title,url){
|
|
|
|
if (window.sidebar) // firefox
|
|
|
|
window.sidebar.addPanel(title, url, "");
|
|
|
|
else if(window.personalbar)
|
|
|
|
{
|
|
|
|
window.personalbar.Addpage(title, url);
|
|
|
|
}
|
|
|
|
else if(window.opera && window.print){ // opera
|
|
|
|
var elem = document.createElement('a');
|
|
|
|
elem.setAttribute('href',url);
|
|
|
|
elem.setAttribute('title',title);
|
|
|
|
elem.setAttribute('rel','sidebar');
|
|
|
|
elem.click();
|
|
|
|
}
|
|
|
|
else if(document.all)// ie
|
|
|
|
window.external.AddFavorite(url, title);
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
{/literal}
|
2009-11-16 11:55:31 +00:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<!-- Global Header Ends Here -->
|