Subversion Repositories cheapmusic

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
103 - 1
<?php if ($userType == "guest") {?>
2
	<a href="<?php echo !empty($custSiteInfo['twitter_page_url']) ? $custSiteInfo['twitter_page_url'] : "https://twitter.com/seopanel"?>" class="twitter-follow-button" data-show-count="false" data-show-screen-name="false" data-dnt="true">Follow @seopanel</a>
3
	<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
4
	<!-- facebook like button -->
5
	&nbsp;
6
	<?php $fbPage = !empty($custSiteInfo['fb_page_url']) ? $custSiteInfo['fb_page_url'] : "https://www.facebook.com/seopanel/"?>
7
	<iframe src="//www.facebook.com/plugins/like.php?href=<?php echo $fbPage?>&amp;send=false&amp;layout=button_count&amp;width=450&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font&amp;height=21&amp;appId=260885620597614"
8
		scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:90px; height:21px;" allowTransparency="true"></iframe>
9
<?php }?>
10
<?php
11
$menuInfo = getCustomizerMenu("top");
12
if (!empty($menuInfo['item_list'])) {
13
	$linkStyle = !empty($menuInfo['bg_color']) ? "background-color: " . $menuInfo['bg_color'] : "";
14
	$linkStyle .= !empty($menuInfo['font_color']) ? ";color: " . $menuInfo['font_color'] : "";
15
 
16
	// loop through menu items
17
	foreach ($menuInfo['item_list'] as $menuItem) {
18
		$linkTarget = ($menuItem['window_target'] == 'new_tab') ? "_blank" : "";
19
		?>
20
		<a href="<?php echo $menuItem['url']?>" target="<?php echo $linkTarget?>" style="<?php echo $linkStyle?>">
21
			<?php echo $menuItem['label']?>
22
		</a><span class="pipe"> | </span>
23
		<?php
24
	}
25
 
26
} else {
27
	?>
28
	<a href="<?php echo !empty($custSiteInfo['contact_url']) ? $custSiteInfo['contact_url'] : SP_CONTACT_LINK?>" target="_blank">
29
		<?php echo $spText['common']['contact']?>
30
	</a><span class="pipe"> | </span>
31
	<a href="<?php echo !empty($custSiteInfo['help_url']) ? $custSiteInfo['help_url'] : SP_HELP_LINK?>" target="_blank">
32
		<?php echo $spText['common']['help']?>
33
	</a><span class="pipe">  |</span>
34
	<a href="<?php echo !empty($custSiteInfo['forum_url']) ? $custSiteInfo['forum_url'] : SP_FORUM_LINK?>" target="_blank">
35
		<?php echo $spText['common']['forum']?>
36
	</a><span class="pipe"> | </span>
37
	<?php
38
}
39
?>
40
<select class="form-control form-control-sm" name="lang_code" id="lang_code" onchange="doLoadUrl('lang_code', '<?php echo $redirectUrl?>')">
41
	<?php
42
	foreach ($langList as $langInfo) {
43
		$selected = ($langInfo['lang_code'] == $_SESSION['lang_code']) ? "selected='selected'" : "";
44
		?>
45
		<option value="<?php echo $langInfo['lang_code']?>" <?php echo $selected?>><?php echo $langInfo['lang_show']?></option>
46
		<?php
47
	}
48
	?>
49
</select>