Page 3 of 3«123
Forum moderator: bigblog 
uCoz Community » For Webmasters » Custom Solutions » Hide and Show Content
Hide and Show Content
helte6213
Posts: 184
Reputation: 0

Message # 31 | 7:15 PM
Code
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="ru">
<![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="ru">
<![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="ru"> <![endif]-->
<!--[if gt IE 8]><!--> <html lang="ru"> <!--<![endif]-->
<head>
<title>$SITE_NAME$-$ENTRY_TITLE$-Watch online</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="prometheus">
<meta charset="UTF-8">

<link href='http://fonts.googleapis.com/css?family=Open+Sans:400italic,600italic,400,300,600,700,800' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
<link type="text/css" rel="StyleSheet" href="/_st/my.css" />
<link href="/bootstrap/css/bootstrap.css" rel="stylesheet" media="screen">
<link rel="stylesheet" href="/css/font-awesome.css">
<link rel="stylesheet" href="/css/misc.css">
<link rel="stylesheet" href="/css/animate.css">


<!-- Favicons -->
<link rel="shortcut icon" href="/images/logo.png">

<!-- JavaScripts -->
<script src="/js/jquery-1.10.2.min.js"></script>
<script src="/js/modernizr.js"></script>
<!--[if lt IE 8]>
<div style=' clear: both; text-align:center; position: relative;'>
<a href="http://www.microsoft.com/windows/internet-explorer/default.aspx?ocid=ie6_countdown_bannercode"><img src="http://storage.ie6countdown.com/assets/100/images/banners/warning_bar_0000_us.jpg" border="0" alt="" /></a>
</div><![endif]-->

</head>
<body onload='setTimeout(function() {document.getElementById("conti").style.display="block"});
setTimeout(function() {document.getElementById("contin").style.display="block"});
setTimeout(function() {document.getElementById("spinner").style.display="none"});
setTimeout(function() {document.getElementById("spinner1").style.display="none"});'>
<script>
$(document).ready(function(){
$('.carousel .carousel_items').parent().html($('.carousel .carousel_items').parent().html().replace('<table align="center" border="0" cellspacing="0" cellpadding="0" width="100%" class="infTable"><tbody>', '').replace(/\<tr>/g,'').replace(/\<td class="infTd" width="12%">/g,'').replace(/\<\/td>/g,'').replace(/\<\/tr>/g,'').replace('<\/table>',''));
});
</script>

<!-- top part -->
$GLOBAL_AHEADER$

<div class="container">
<div class="section-cotent col-md-12">
<div class="title-section"><h2>searching</h2></div>
<div class="row">


<!-- searching -->
<div class="col-md-2">
<div class="service-item">
<form class="search-form1" onsubmit="this.sfSbm.disabled=true" method="get" action="/search/">
<div class="input-group1">
<button type="submit" class="fa fa-search"></button>
<input type="text" class="form-control1" placeholder="Search movie..." name="q" id="srch-term">
</div>
</form>
</div>
</div>


<!-- year of -->
<div class="col-md-2">
<div class="service-item">
<select size="1" name="q" class="mainBtn2" style="font-weight:bold" onchange="window.location.href='/search/'+this.options[this.selectedIndex].value">
$GLOBAL_YEAR$
</select>
</form>
</div>
</div>

<!-- Actors -->
<div class="col-md-2">
<div class="service-item">
<script type="text/javascript" src="/js/actor.js"></script>
<script type="text/javascript">
document.write('<select size="1" name="q" class="mainBtn2" style="font-weight:bold" onchange="window.location.href=\'/search/\'+this.options[this.selectedIndex].value">'+ACTOR+'</select>');
</script>
</div>
</div>

<!-- Producer -->
<div class="col-md-2">
<div class="service-item">
<script type="text/javascript" src="/js/director.js"></script>
<script type="text/javascript">
document.write('<select size="1" name="q" class="mainBtn2" style="font-weight:bold" onchange="window.location.href=\'/search/\'+this.options[this.selectedIndex].value">'+DIRECTOR+'</select>');
</script>
</div>
</div>

<!-- Country -->
<div class="col-md-2">
<div class="service-item">
<select size="1" name="q" class="mainBtn2" style="font-weight:bold" onchange="window.location.href='/search/'+this.options[this.selectedIndex].value">
$GLOBAL_COUNTRY$
</select>
</div>
</div>
</div>
</div>
</div>

<!-- Categories -->
<div class="container">
<div class="cont">
<div class="section-cotent col-md-12">
<div class="height">
<div id="spinner">
<div class="rect1"></div>
<div class="rect2"></div>
<div class="rect3"></div>
<div class="rect4"></div>
<div class="rect5"></div>
</div>
<div id="conti" style="display:none;">
<div class="title-section"><h2>Genres</h2></div>
<div class="row">
<div class="col-md-12">
$CATEGORIES$
</div>
</div>
</div>
</div>
</div>
</div>
</div>

<!-- New Releases -->
<?if($MYINF_1$)?>
<div class="container">
<div class="section-cotent col-md-12">
<div class="height">
<div id="spinner1">
<div class="rect1"></div>
<div class="rect2"></div>
<div class="rect3"></div>
<div class="rect4"></div>
<div class="rect5"></div>
</div>
<div id="contin" style="display:none;">
<div class="title-section"><h2><a href="/board/novinki/1" class="entAllCats">New Releases</a></h2></div>
<div class="row">
<div class="col-md-12">
<div class="carousel">
<a class="carousel_btn_left" href="#"><i class="fa fa-chevron-left fa-lg"></i></a>
<a class="carousel_btn_right" href="#"><i class="fa fa-chevron-right fa-lg"></i></a>
<div class="carousel_mask">
<ul class="carousel_items">
$MYINF_1$
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<?endif?>

<!-- Content -->
<div class="container">
<div class="section-cotent1 col-md-12">
<div class="title-section"><h2>Watch online</h2></div>
<div class="row">
<div class="col-md-12">
<!-- <middle> -->
<section>
<div class="col-md-12">
<div id="content">
<!-- <body> -->
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td style="white-space: nowrap;align:center;"><?if($ADD_ENTRY_LINK$)?><div style="margin-top:11px"><a href="$ADD_ENTRY_LINK$" class="mainBtn1"><!--<s5186>--><i class="fa fa-plus"></i> Add Movie<!--</s>--></a> </div><?endif?></div></td>
</tr>
</table>
<?if($MODER_PANEL$)?><div style="height:15px"><div style="float:right;margin:-29px 5px 0 0;">$MODER_PANEL$</div></div><?endif?>
<div class="info" align="center">
<div class="col-md-4 col-sm-6 contfon lft">
<div class="portfolio-tumb ph-link">
<img src="$IMG_URL1$" class="contimg" title="$TITLE$">
</div><br><div align="center" class="rats"><?if($RATING$)?><span><?$RSTARS$('16','/.s/t/1322/rating.png','1','float')?></span><?endif?></div>
</div>
<div class="col-md-8 col-sm-6" style="padding:10px 5px 10px 10px">
<table border="0" width="100%" cellspacing="0" cellpadding="2" class="eBlock">
<tr><td class="trFon1">Title</td><td class="trFon2 entt" style="font-weight:bold">$ENTRY_TITLE$</td></tr>
<tr><td class="trFon">Genre</td><td class="trFon"><a href="$CAT_URL$"><b>$ENTRY_CATS$
</b></a></td></tr>
<?if($FILTER1_VALUE$)?><tr><td class="trFon1">year of</td><td class="trFon2"><b><div class="year"><div style="display:none;font-weight:bold" class="god">$FILTER1_VALUE$г</div></div></b>
<script>
var year = '$FILTER1_VALUE$';
var year = year.split(',');
var links = new Array();
for (var i = 0; i < year.length; i++)
{links[i] = '<a href="/search/' + year[i] + '">' + year[i] + '</a>';}
$('.year').html(links.join (', '));
</script></td></tr><?endif?>
<?if($FILTER2_VALUE$)?><tr><td class="trFon">Country</td><td class="trFon"><b><div class="country"></div></b>
<script>
var country = '$FILTER2_VALUE$';
var country = country.split(',');
var links = new Array();
for (var i = 0; i < country.length; i++)
{links[i] = '<a href="/search/' + country[i] + '">' + country[i] + '</a>';}
$('.country').html(links.join (', '));
</script></td></tr><?endif?>
<?if($OTHER2$)?><tr><td class="trFon1">Run Time</td><td class="trFon2"><b>$OTHER2$</td></tr><?endif?>
<?if($FILTER3_VALUE$)?><?if($FILTER3_VALUE$="It goes to the movies")?><tr><td class="trFon">Viewing</td><?else?><tr><td class="trFon">Translation</td><?endif?><td class="trFon"><b><div class="translation"></div></b>
<script>
var translation = '$FILTER3_VALUE$';
var translation = translation.split(',');
var links = new Array();
for (var i = 0; i < translation.length; i++)
{links[i] = '<a href="/search/' + translation[i] + '">' + translation[i] + '</a>';}
$('.translation').html(links.join (', '));
</script></td></tr><?endif?>
<?if($OTHER4$)?><tr><td class="trFon1">Producer</td><td class="trFon2"><b><div class="director"></div></b>
<script>
var director = '$OTHER4$';
var director = director.split(',');
var links = new Array();
for (var i = 0; i < director.length; i++)
{links[i] = '<a href="/search/' + director[i] + '">' + director[i] + '</a>';}
$('.director').html(links.join (', '));
</script></td></tr>
<?if($OTHER3$)?><tr><td class="trFon">Actors</td><td class="trFon"><b><div class="actors"></div></b>
<script>
var actors = '$OTHER3$';
var actors = actors.split(',');
var links = new Array();
for (var i = 0; i < actors.length; i++)
{links[i] = '<a href="/search/' + actors[i] + '">' + actors[i] + '</a>';}
$('.actors').html(links.join (', '));
</script></td></tr><?endif?><?else?>
<?if($OTHER3$)?><tr><td class="trFon1">Actors</td><td class="trFon2"><b><div class="actors"></div></b>
<script>
var actors = '$OTHER3$';
var actors = actors.split(',');
var links = new Array();
for (var i = 0; i < actors.length; i++)
{links[i] = '<a href="/search/' + actors[i] + '">' + actors[i] + '</a>';}
$('.actors').html(links.join (', '));
</script>
</td></tr><?endif?><?endif?>
</table></div></div>
<br><h3>About the film</h3>
<div class="eText">$MESSAGE$</div>
<?if($IMG_URL3$ or $IMG_URL4$ or $IMG_URL5$)?><br><h3>Movie Stills</h3><div style="width:100%;" align="center"><?if($IMG_URL3$)?><a href="$IMG_URL3$" class="conti" data-rel="lightbox"><img src="$IMG_URL3$" class="contimages" title="Enlarge"></a><?endif?><?if($IMG_URL4$)?><a href="$IMG_URL4$" class="conti" data-rel="lightbox"><img src="$IMG_URL4$" class="contimages" title="Enlarge"></a><?endif?><?if($IMG_URL5$)?><a href="$IMG_URL5$" class="conti" data-rel="lightbox"><img src="$IMG_URL5$" class="contimages" title="Enlarge"></a><?endif?></div><?else?><?endif?>
<br>$GLOBAL_PLAYER$
<?if($RELATED_ENTRIES$(5)='')?><?else?><span><h3>What else to see:</h3></span><br>
<table border="0" width="100%" cellspacing="1" cellpadding="2" class="eBlock" align="center">
<tr ><td align="center"><?$RELATED_ENTRIES$(4)?></td></tr></table><br><?endif?>

<?if($COM_IS_ACTIVE$)?>
<?if($COM_CAN_READ$)?>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td width="60%" height="25"><h3>Comments</h3></td><td align="right" height="25">$COM_PAGE_SELECTOR$</td></tr>
<tr><td colspan="2">$COM_BODY$</td></tr>
<tr><td colspan="2" align="center">$COM_PAGE_SELECTOR1$</td></tr>
<tr><td colspan="2" height="10"></td></tr>
</table>
<?endif?>

<?if($COM_CAN_ADD$)?>
$COM_ADD_FORM$
<?else?>
<?if($USER_LOGGED_IN$)?><?else?><div align="center" class="commReg"><!--<s5237>-->Add comments can only registered users.<!--</s>--><br />[ <a href="$REGISTER_LINK$"><!--<s3089>-->Register<!--</s>--></a> | <a href="$LOGIN_LINK$"><!--<s3087>-->entrance<!--</s>--></a> ]</div><?endif?>
<?endif?>
<?endif?><!-- </body> -->
</div>
</div>
</section>
</div>

<!-- The first container -->
<aside>
<div id="sidebar">
$GLOBAL_CLEFTER$
</div>
</aside>
<!-- </middle> -->
<div class="clr"></div>
</div>
</div>
</div>
</div>

<!-- Bottom part -->
$GLOBAL_BFOOTER$

<script>$(document).ready(function(){
$('.cont .catsTable').parent().html($('.cont .catsTable').parent().html().replace(/\<tr>/g,'').replace(/\<\/tr>/g,''));
});
</script>

<script>
$(document).ready(function(){
$('.trFon .entAllCats').parent().html($('.trFon .entAllCats').parent().html().replace(', <a href="$HOME_PAGE_LINK$board/novinki/1" class="entAllCats">New Releases</a>','').replace('<a href="$HOME_PAGE_LINK$board/novinki/1" class="entAllCats">New Releases</a>, ','').replace('<a href="$HOME_PAGE_LINK$board/v_kino/18" class="entAllCats">To the cinema</a>, ','').replace(', <a href="$HOME_PAGE_LINK$board/v_kino/18" class="entAllCats">To the cinema</a>',''));
});
</script>

<script>
$('.uRelatedEntry a').each(function(){
var c=$(this),cont=c.parent(),url=this.href,noimg='/img/no_img.png';
$.get(url,{},function(d){
var imgurl = url ;
$(cont).on('click', function () {window.location= imgurl });
var b=$(d).find('.ph-link img:eq(0)')||false,src=null;
if(b){
for(var i=0;i<b.length;i++){
if(!/ucoz.net/i.test(b[i].src)){
src=b[i].src;
cont.prepend($('<img/>').attr('src',src).addClass('infimg1'));break;
};
};
if(src==null){cont.prepend($('<img/>').attr('src',noimg).addClass('infimg1'))}
};
});
});
</script>
<script src="/bootstrap/js/bootstrap.min.js"></script>
<script src="/js/plugins.js"></script>
<script src="/js/jquery.lightbox.js"></script>
<script src="/js/custom.js"></script>
</body>
</html>
bigblog
*boops*
Posts: 1424
Reputation: 67

Message # 32 | 8:14 PM
helte6213, in your code there isn't this code:
Code
<div id="howTo" style="display: none;">

and

</div>

nor this:
Code
<a href="javascript://" onclick="howtowatch();">How To Watch?</a>

hey i'm joe, please don't call me on my real name because you're gonna misspell or mispronounce it and it drives me nuts
bigblog
*boops*
Posts: 1424
Reputation: 67

Message # 33 | 8:28 PM
'Moved to Custom solutions.
hey i'm joe, please don't call me on my real name because you're gonna misspell or mispronounce it and it drives me nuts
Cyberdasm
Posts: 605
Reputation: 6

Message # 34 | 3:17 AM
bigblog, i think this is what I'm looking for.

Added (2016-01-06, 3:17 AM)
---------------------------------------------
helte6213, i think you need to put it in the folder name js


1F4BF3B

admin@lizeal.tk
www.lizeal.tk
uCoz Community » For Webmasters » Custom Solutions » Hide and Show Content
Page 3 of 3«123
Search: