Subversion Repositories cheapmusic

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
103 - 1
<?php if(empty($_COOKIE['hidenews']) && !SP_HOSTED_VERSION && empty($custSiteInfo['disable_news'])){ ?>
2
	<div class="row-fluid" style="width: 100%;">
3
		<div class="alert alert-warning alert-dismissible fade show"
4
			role="alert" id="myAlert" style="margin: 4px;">
5
			<button type="button" class="close" data-dismiss="alert"
6
				aria-label="Close">
7
				<span aria-hidden="true">&times;</span>
8
			</button>
9
			<span id="newsalert"></span>
10
		</div>
11
	</div>
12
	<script>
13
	    scriptDoLoad('<?php echo SP_WEBPATH?>/index.php?sec=news', 'newsalert');
14
	    $('#myAlert').on('closed.bs.alert', function () {
15
	    	hideNewsBox('newsalert', 'hidenews', '1')
16
	    });
17
	</script>
18
<?php }?>