| Server IP : 206.188.193.52 / Your IP : 216.73.217.55 Web Server : Apache System : Linux prod-iad-vuxweb1501ah 5.14.0-687.26.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Jul 14 16:32:02 EDT 2026 x86_64 User : 2670060.2931588 ( 1910161) PHP Version : 7.4.33 Disable Function : shell_exec,passthru,exec,system,pcntl_exec MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /data/20/2/18/60/2670060/user/2931588/htdocs/nsiwordpress/wp-content/themes/ahimsa/ |
Upload File : |
<?php
include_once("utils.php");
// Load custom skin stylesheet and then the final custom stylesheet
global $options, $current_user;
$skin = $options['skin'];
get_currentuserinfo();
if( isset($current_user) && $current_user->user_level == 10 && $_GET['ahimsaskin'] != "" )
$skin = $_GET['ahimsaskin'];
if( $skin != "none" && preg_match("/^[a-zA-Z0-9]+(\-[a-zA-Z0-9]+)*$/", $skin) )
print
"
<link
rel='stylesheet'
href='" . util_get_skin_url($skin) . "'
type='text/css' media='screen' />
";
if( ($customstylesheet = util_get_customss_url()) != "" )
print "<link rel='stylesheet' href='$customstylesheet' type='text/css' media='screen' />\n";
// finally, if we are in skin edit mode, then load up the JavaScript for customisation
/* TODO: this is not there yet
if( isset($current_user)
&& $current_user->user_level == 10
&& $_GET['ahimsaskin'] != ""
&& $_GET['skinedit'] == 1 )
{
print
"
<script
type='text/javascript'
src='" .
get_bloginfo('template_url').'/skinedit.js' .
"'>
</script>
";
}
*/
?>