예제 #1
0
function tp_index()
{
    ?>
<style>
body {
	background: #ffffff; //url('<?php 
    mx_proption('backgroundURL');
    ?>
') center repeat fixed;
}
div.whitebg {
	background: url('<?php 
    mx_proption('transparencyURL');
    ?>
') repeat;
}
</style>
<div class='mainwrapper whitebg'>
	<div class='header'>
		<div class='topbar'>
		<img src='<?php 
    mx_proption('mxbannerURL');
    ?>
' />
		</div>
	</div>
	<div class='columns'>
		<div class='maincolumn'>
			<div class='main'>
				<div id="content" class='content'>
				<?php 
    mx_content();
    ?>
				</div>
			</div>
		</div>
	</div>
	<div class='footer'>
		<div class='bottombar'>
		</div>
	</div>

</div>

	<?php 
}
예제 #2
0
function mx_frlogo()
{
    ?>
	<div class='logo'><a href='<?php 
    mx_proption('basicsiteurl');
    ?>
' alt='<?php 
    __('Home');
    ?>
'><img tag="musxpand" class="logopic" src='<?php 
    mx_proption('m-logoURL');
    ?>
' /></a>
		<?php 
    echo '<img tag="mxversion" class="betapic" src="' . mx_option('betalogoURL') . '" />';
    ?>
	</div>
	<?php 
}
예제 #3
0
function mx_header($opts = '')
{
    global $mxuser;
    if ($opts) {
        header($opts);
    } else {
        header('Content-type: text/html; charset=utf-8');
    }
    $page = mx_secureword($_GET['p']);
    $option = mx_secureword($_GET['o']);
    ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://ogp.me/ns/fb#">

<head prefix="og:http://ogp.me/ns# fb:http://ogp.me/ns/fb# musxpand:http://ogp.me/ns/fb/musxpand#">

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title><?php 
    mx_sitetitle();
    ?>
</title>
<?php 
    mx_metatags();
    ?>
<meta name="generator" content="<?php 
    mx_proption('MXVersion');
    ?>
" />
<meta name="robots" content="index,follow" />

<link rel="stylesheet" href="<?php 
    echo mx_stylesheet();
    ?>
" type="text/css" media="" />
<link rel="stylesheet" href="<?php 
    mx_proption('templateURL');
    ?>
/fileuploader.css" type="text/css" media="screen" />
<link href="https://plus.google.com/113506343132201725433" rel="publisher" />
<link rel='index' title='<?php 
    mx_proption('title');
    ?>
' href='<?php 
    mx_proption('siteurl');
    ?>
' />
<link rel="shortcut icon" type="image/vnd.microsoft.icon" href="<?php 
    mx_proption('siteurl');
    ?>
/musxpand.ico"/>
<link rel="icon" type="image/png" sizes="16x16" href="<?php 
    mx_proption('siteurl');
    ?>
/musxpand-16x16.png"/>
<link type="text/css" href="/templates/css/smoothness/jquery-ui-1.8.18.custom.css" rel="stylesheet" />
<script type="text/javascript" src="/js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="/js/jquery-ui-1.8.18.custom.min.js"></script>

<script>

var agreementmsg='<?php 
    echo _('You must agree with the legal terms before submitting');
    ?>
';
var yousure='<?php 
    echo _('Are you sure you want to do that?');
    ?>
';
var SentByString='<?php 
    __('Sent by %1 on %2:');
    ?>
';
var recipientunknown='<?php 
    __('Recipient unknown...');
    ?>
';
var leavingsitemsg='<?php 
    __('WARNING: ' . 'You\\\'re about to visit a site ' . 'not related to MusXpand!\\n');
    ?>
';
var descmsg='<?php 
    __('Site:');
    ?>
';
var linkmsg='<?php 
    __('Link:');
    ?>
';
var okcancelmsg='<?php 
    __('\\nClick OK to continue, Cancel to desist');
    ?>
';
var oopsmessage='<?php 
    __('Oops! Something went wrong...');
    ?>
';
var available='<?php 
    __('Available');
    ?>
';
var used='<?php 
    __('Already Used');
    ?>
';
var houston='<?php 
    __('Error');
    ?>
';
var needaletter='<?php 
    __('Cannot be a number...');
    ?>
';
var reserved='<?php 
    __('Reserved');
    ?>
';

var agreepub='<?php 
    __('WARNING\\nBy publishing these medias, you agree with our terms and conditions, and in particular ' . 'you confirm you own the necessary rights or authorizations to do so. ' . 'You are also aware you won\\\'t be able to remove the access to these media from your current fans, if any, during the term of their subscription, limited to one year.');
    ?>
';
var agreearch='<?php 
    __('IMPORTANT\\nBy archiving these medias, you are aware that they will still be available to your current subscribers ' . 'until the end of their subscription, limited to one year.');
    ?>
';

var siteurl='<?php 
    mx_proption('siteurl');
    ?>
';
var secsiteurl='<?php 
    mx_proption('secure_siteurl');
    ?>
';
var iconsurl='<?php 
    echo mx_option('templateURL') . '/icons/';
    ?>
';

</script>
<script src="<?php 
    echo mx_option('siteurl') . '/js/musxpand.js';
    ?>
" type="text/javascript"></script>
<script src="<?php 
    echo mx_option('siteurl') . '/js/fileuploader.js';
    ?>
" type="text/javascript"></script>
<script src="<?php 
    echo mx_option('siteurl') . '/js/json_sans_eval.js';
    ?>
" type="text/javascript"></script>
<!--
<link rel="stylesheet" href="<?php 
    mx_proption('siteurl');
    ?>
/js/video-js/video-js.css" type="text/css" media="screen" />
<script src="<?php 
    echo mx_option('siteurl') . '/js/video-js/video.min.js';
    ?>
" type="text/javascript" charset="utf-8"></script>
<script>
      _V_.options.flash.swf = "<?php 
    echo mx_option('siteurl') . '/js/video-js/video-js.swf';
    ?>
"
</script>
-->
<script src="<?php 
    echo mx_option('siteurl') . '/js/flowplayer/flowplayer-3.2.10.min.js';
    ?>
" type="text/javascript"></script>
<script src="<?php 
    echo mx_option('siteurl') . '/js/jquery.zclip.min.js';
    ?>
" type="text/javascript"></script>
<?php 
    // automatic slider for featured/random artists
    if ($option == 'featarts' || $page == 'main' || $page == '') {
        echo '<script src="' . mx_option('siteurl') . '/js/skit/js/external/jquery.easing.1.3.min.js" type="text/javascript"></script>';
        echo '<script src="' . mx_option('siteurl') . '/js/skit/js/external/jquery.mousewheel.min.js" type="text/javascript"></script>';
        echo '<script src="' . mx_option('siteurl') . '/js/skit/js/sliderkit/jquery.sliderkit.1.9.1.pack.js" type="text/javascript"></script>';
        echo '<script src="' . mx_option('siteurl') . '/js/skit/js/sliderkit/addons/sliderkit.timer.1.0.pack.js" type="text/javascript" ></script>';
        echo '<script type="text/javascript">
	    $(window).load(function(){

	        $("#sk1.sliderkit").sliderkit({
	            shownavitems:1,
	            auto:true,
	            circular:true,
	            navclipcenter:true,
	            scrolleasing:"easeInOutCubic",
	            autospeed:8000,
	            timer:{
	            	fadeout:0.7
	            	}
	        });
	        $("#sk2.sliderkit").sliderkit({
	            shownavitems:3,
	            auto:true,
	            circular:true,
	            navclipcenter:true,
	            scrolleasing:"easeInOutCubic",
	            autospeed:7500
	        });

	    });
		</script>';
        echo '<link rel="stylesheet" type="text/css" href="' . mx_option('siteurl') . '/js/skit/css/sliderkit-core.css" media="screen, projection" />';
    }
    // graphs
    if ($option == 'mystats' || $option == 'artprof' || $option == 'fanprof' || $option == 'myartpage' || $option == 'myfanpage') {
        echo '<script src="' . mx_option('siteurl') . '/js/jquery.flot.min.js" type="text/javascript"></script>';
        echo '<script src="' . mx_option('siteurl') . '/js/jquery.flot.selection.min.js" type="text/javascript"></script>';
    }
    ?>
<!--  +1 Button -->
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>

<!-- BEGIN Analytics stats -->
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-8655750-13']);
  _gaq.push(['_setDomainName', '.example.com']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
<!-- END Analytics stats -->

<link rel="stylesheet" href="/js/sshow/css/style.css" />
<script type="text/javascript" src="/js/sshow/jquery.aw-showcase.js"></script>
<script type="text/javascript" src="/js/tooltip/jquery.tooltip.pack.js"></script>

</head>
<body class="bgdrop">
<div class="backpic"></div>
<div id="formhelper"><div></div></div>
<?php 
    mx_FBinit();
}
예제 #4
0
function tp_index()
{
    ?>
<style>
body {
	background: #ffffff url('<?php 
    mx_proption('backgroundURL');
    ?>
') center repeat fixed;
}
div.whitebg {
	background: url('<?php 
    mx_proption('transparencyURL');
    ?>
') repeat;
}
</style>
<div class='mainwrapper whitebg'>
	<div class='header'>
		<div class='logo'><a href='<?php 
    mx_proption('basicsiteurl');
    ?>
' alt='<?php 
    __('Home');
    ?>
'><img src='<?php 
    mx_proption('logoURL');
    ?>
' /></a>
		<?php 
    /*if (MXBETA==false) echo '<a href="'.mx_optionurl('about','cQ')
    		.'" alt="'._('Version').'"><img src="'.mx_option('versionlogoURL').'" /></a>';
    		else */
    echo '<img src="' . mx_option('betalogoURL') . '" />';
    ?>
		</div>
		<div class='topbar'><?php 
    echo '<div class="supportphone">' . MXSUPPORTPHONE . '</div>';
    /*mx_ctxmenu();*/
    mx_searchbox();
    mx_helpmenu();
    ?>
</div>
		<div class='topright'><?php 
    mx_iconmenu();
    ?>
</div>
	</div>
	<div class='columns'>
		<div class='leftcolumn'>
			<?php 
    mx_userpic();
    ?>
			<?php 
    mx_showname();
    ?>
			<?php 
    mx_mainmenu();
    ?>
			<?php 
    mx_usermenu();
    ?>
			<?php 
    mx_counton();
    ?>
			<?php 
    mx_frdonline();
    ?>
			<?php 
    mx_artonline();
    ?>
			<?php 
    mx_sociallikes();
    ?>
			<?php 
    //echo gmdate('c');
    ?>
		</div>
		<div class='maincolumn' id='maincolumn'>
			<?php 
    //if (!is_logged()) {
    ?>
			<div class='banner'>
			<?php 
    mx_banner();
    ?>
			</div>
			<?php 
    //}
    ?>
			<div class='main'>
				<div class='rightbar'>
				</div>
				<div id="content" class='content'>
				<?php 
    mx_content();
    ?>
				</div>
			</div>
		</div>
		<div class='rightcolumn'>
			<?php 
    mx_notice();
    ?>
			<?php 
    mx_ads();
    ?>
		</div>
	</div>
	<div class='footer'>
		<div class='bottomleft'></div>
		<div class='bottombar'><?php 
    mx_musxmenu();
    ?>
</div>
		<div class='bottomright'>
		<?php 
    mx_infosecure();
    ?>
		</div>
	</div>

</div>

	<?php 
}