Beispiel #1
0
// main code alias
$alias = clearAlias(glob(WAMP_PATH . 'alias/*.conf'));
foreach ($alias as $name => &$path) {
    $structure = array();
    $structure['name'] = $name;
    $structure['url'] = getAliasUrl($path);
    $structure['img'] = getFavicon('http://localhost/' . $name);
    $path = $structure;
}
sort($alias);
// main code toolbox
foreach ($toolbox as $name => &$url) {
    $structure = array();
    $structure['name'] = $name;
    $structure['url'] = $url;
    $structure['img'] = getFavicon($url);
    $url = $structure;
}
// main code server
preg_match("([0-9\\.]+)", apache_get_version(), $match);
$apache_version = $match[0];
$php_version = phpversion();
preg_match("([0-9\\.]+)", @mysql_get_server_info(), $match);
$mysql_version = isset($match[0]) ? $match[0] : null;
?>
<!DOCTYPE html>
<html>
    <head>
        <title>localhost</title>
        <link href=".bootstrap/css/bootstrap.min.css" rel="stylesheet">
        <link href=".bootstrap/css/application.css" rel="stylesheet">
     $output = str_replace("{admin}", $config_admin_template, $output);
 } else {
     $output = str_replace("{admin}", "", $output);
 }
 # END Admin hack part Two
 # Add Elapsed
 $output = str_replace("{date-elapsed}", aj_elapsed($comment_arr[0]), $output);
 $output = str_replace("{date}", langdate($config_timestamp_comment, $comment_arr[0]), $output);
 if ($isurl == "yes") {
     $comment_arr[2] = run_filters('news-comment-display-url', $comment_arr[2]);
 } elseif ($comment_arr[2] != "none") {
     $comment_arr[2] = run_filters('news-comment-display-email', $comment_arr[2]);
 }
 # Favatar support
 if ($isurl == "yes" && $comment_arr[2] != "none" && strpos($output, "{favatar}")) {
     $favatar = getFavicon($comment_arr[2]);
     if ($favatar) {
         $output = str_replace("{favatar}", "<img alt=\"Favatar\" src=\"{$favatar_url}\" width=\"16\" height=\"16\" class=\"favatar_image\" />", $output);
     } else {
         $urlParts = parse_url($comment_arr[2]);
         $faviconURL = $urlParts['scheme'] . '://' . $urlParts['host'] . '/favicon.ico';
         if (url_validate($faviconURL)) {
             $output = str_replace("{favatar}", "<img alt=\"Favatar\" src=\"{$faviconURL}\" width=\"16\" height=\"16\" class=\"favatar_image\" />", $output);
         } else {
             $output = str_replace("{favatar}", "", $output);
         }
     }
 } elseif ($isurl == "no" || $comment_arr[2] == "none") {
     $output = str_replace("{favatar}", "", $output);
 }
 $output = str_replace("{comment-id}", $comment_arr[0], $output);
Beispiel #3
0
	})

	$('.commentlist li div').bind('mouseover', function() {
		var reply = $(this).find('.reply')[0];
		$(reply).find('.comment-reply-link').show();
	});

	$('.commentlist li div').bind('mouseout', function() {
		var reply = $(this).find('.reply')[0];
		$(reply).find('.comment-reply-link').hide();
	});
});
</script>

<?php 
echo getFavicon();
?>
</head>

<body <?php 
body_class();
?>
>

<div class="wrapper">
	<div id="header">
		<div id="site-title">
			<h1><a href="<?php 
echo home_url('/');
?>
" title="<?php