当前位置: 首页>>代码示例>>PHP>>正文


PHP credits函数代码示例

本文整理汇总了PHP中credits函数的典型用法代码示例。如果您正苦于以下问题:PHP credits函数的具体用法?PHP credits怎么用?PHP credits使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了credits函数的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: blind

function blind($sn, $fmin, $fmax)
{
    if ($fmax - $fmin < 5) {
        if (crack($fmin, $fmax, $sn) == 0) {
            print "\n\rEXPLOIT FAILED...";
            credits();
        }
        return;
    }
    $compare = intval($fmin + ($fmax - $fmin) / 2);
    $crcheck = ">" . $compare;
    if (check($crcheck, $sn) == 1) {
        blind($sn, $compare, $fmax);
    } else {
        blind($sn, $fmin, $compare + 1);
    }
}
开发者ID:SuperQcheng,项目名称:exploit-database,代码行数:17,代码来源:1939.php

示例2: die

 * This is meant to be included in a page template.
 *
 * @package evoskins
 */
if (!defined('EVO_MAIN_INIT')) {
    die('Please, do not access this page directly.');
}
?>

<!-- =================================== START OF FOOTER =================================== -->
<p class="baseline">

<?php 
// Display a link to contact the owner of this blog (if owner accepts messages):
$Blog->contact_link(array('before' => '', 'after' => ' &bull; ', 'text' => T_('Contact'), 'title' => T_('Send a message to the owner of this blog...')));
?>

Powered by <a href="http://b2evolution.net/" title="b2evolution home" target="_blank">b2evolution</a>

&bull;

Credits: <a href="http://skinfaktory.com/">skin makers</a>

<?php 
// Display additional credits:
// If you can add your own credits without removing the defaults, you'll be very cool :))
// Please leave this at the bottom of the page to make sure your blog gets listed on b2evolution.net
credits(array('list_start' => ' &bull; ', 'list_end' => ' ', 'separator' => ' &bull; ', 'item_start' => ' ', 'item_end' => ' '));
?>

</p>
开发者ID:ldanielz,项目名称:uesp.blog,代码行数:31,代码来源:_body_footer.inc.php

示例3: die

<?php

if (!defined('EVO_MAIN_INIT')) {
    die('Please, do not access this page directly.');
}
?>
<!-- =================================== START OF FOOTER =================================== -->
<div id="footer">

		<?php 
// Display footer text (text can be edited in Blog Settings):
$Blog->footer_text(array('before' => '', 'after' => ' | '));
?>

		<?php 
// Display a link to contact the owner of this blog (if owner accepts messages):
$Blog->contact_link(array('before' => '', 'after' => ' | ', 'text' => T_('Contact'), 'title' => T_('Send a message to the owner of this blog...')));
?>

		Design by <a href="http://petforum.ws" target="_blank">Pet Forum</a><?php 
// Display additional credits:
// If you can add your own credits without removing the defaults, you'll be very cool :))
// Please leave this at the bottom of the page to make sure your blog gets listed on b2evolution.net
credits(array('list_start' => ' | ' . T_('Credits') . ': ', 'list_end' => ' ', 'separator' => '|', 'item_start' => ' ', 'item_end' => ' '));
?>
</div>

开发者ID:b2evolution,项目名称:rugged_skin,代码行数:26,代码来源:_body_footer.inc.php

示例4: die

    $seed1 = -1;
}
if (rand(1, 999) % 2 == 0) {
    $seed2 = -1;
}
if ($_GET['hood'] < 1) {
    die("Wrong hood number");
}
$coord = $gangsta->get_coord($_GET['hood']);
$x = $coord[0] + rand(1, 99) * $seed1;
$y = $coord[1] + rand(1, 99) * $seed2;
$gangs = $gangsta->get_map(array('x' => $x, 'y' => $y));
$gang_hit = $wave = 0;
$max_waves = 4;
$sleep_time = 90;
$total_gangs = count($gangs);
//$total_gangs = 30;
$gangs = array_reverse($gangs);
credits();
$start_time = time_start();
foreach ($gangs as $g) {
    $gangsta->attack($g['x'], $g['y']);
    // Check match waves and sleep
    ++$wave;
    ++$gang_hit;
    die;
}
time_end();
echo cli_message("Total gangs in array = {$total_gangs}\nTotal gangs hit = {$gang_hit}");
// display result
print json_decode($result);
开发者ID:vamenard,项目名称:godfather-rockrobot,代码行数:31,代码来源:attack1.php

示例5: T_

// Display a link to contact the owner of this blog (if owner accepts messages):
$Blog->contact_link(array('before' => '', 'after' => ' ', 'text' => T_('Contact'), 'title' => T_('Send a message to the owner of this blog...')));
// Display a link to help page:
$Blog->help_link(array('before' => '/ ', 'after' => '.', 'text' => T_('Help')));
?>

		<?php 
// Display footer text (text can be edited in Blog Settings):
$Blog->footer_text(array('before' => '', 'after' => '. '));
?>

 		<?php 
// Display additional credits:
// If you can add your own credits without removing the defaults, you'll be very cool :))
// Please leave this at the bottom of the page to make sure your blog gets listed on b2evolution.net
credits(array('list_start' => ' ', 'list_end' => '.<br />', 'separator' => ' / ', 'item_start' => '', 'item_end' => ''));
?>
		Design &amp; icons by <a href="http://www.ndesign-studio.com">N.Design Studio</a>. Skin by <a href="http://www.tenderfeelings.be">Tender Feelings</a> / <?php 
display_param_link($skinfaktory_links);
?>
.
	</div>
	<div class="alignright">
		<?php 
if ($Blog->get_setting('feed_content') != 'none') {
    ?>
			<a href="<?php 
    $Blog->disp('rss2_url', 'raw');
    ?>
" class="rss">Entries RSS</a>
			<a href="<?php 
开发者ID:ldanielz,项目名称:uesp.blog,代码行数:31,代码来源:_body_footer.inc.php

示例6: printheader

function printheader($generate, $pagename, $desc = "", $templ = "")
{
    global $set, $pagenum, $editextra, $selected, $langmessage, $cntt, $LNEversion, $prefix;
    if ($generate) {
        $out .= "\n<?php\n\tprint checktitle();\n?>\n";
    } else {
        $out .= checktitle();
    }
    $out .= "<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />\n";
    $out .= "<meta http-equiv='Content-Language' content='" . $set['language'] . "' />\n";
    $out .= "<meta http-equiv='Content-Script-Type' content='text/javascript' />\n";
    $out .= "<meta http-equiv='Content-Style-Type' content='text/css' />\n";
    $out .= "<meta name='keywords' content='" . $set['keywords'] . "' />\n";
    $out .= "<meta name='description' content=\"";
    if ($desc != "") {
        $out .= $desc;
    } else {
        $out .= $set['description'];
    }
    $out .= "\" />\n";
    $out .= "<meta name='author' content='" . $set['author'] . "' />\n";
    $out .= "<meta name='generator' content='LightNEasy " . $LNEversion . "' />\n";
    $out .= "<meta name='Robots' content='index,follow' />\n";
    $out .= "<meta http-equiv='imagetoolbar' content='no' /><!-- disable IE's image toolbar -->\n";
    if (num_rows(dbquery("SELECT titulo FROM " . $prefix . "noticias"))) {
        $out .= "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"LightNEasy RSS Feed\" href=\"LightNEasy/rss.php\" />\n";
        $out .= "<link rel=\"alternate\" type=\"application/atom+xml\" title=\"LightNEasy Atom Feed\" href=\"LightNEasy/atom.php\" />\n";
    }
    $out .= "<link rel='stylesheet' type='text/css' href='templates/";
    if ($templ != "") {
        $out .= $templ;
    } else {
        if ($selected['template'] != "") {
            $out .= $selected['template'];
        } else {
            $out .= $set['template'];
        }
    }
    $out .= "/style.css' />\n";
    $out .= "<link rel='stylesheet' type='text/css' href='css/lightneasy.css' />\n";
    if ($generate) {
        $out .= "<?php\n\tprint checkaddons();\n?>\n";
    } else {
        $out .= checkaddons();
    }
    if ($generate) {
        $out .= credits();
    }
    return $out;
}
开发者ID:squidjam,项目名称:LightNEasy,代码行数:50,代码来源:common.php

示例7: T_

			<a href="http://webreference.fr/2006/08/30/rss_atom_xml" title="External - English"><?php 
    echo T_('What is RSS?');
    ?>
</a>
		<?php 
}
?>
	</p>


	<p class="baseline">
		<?php 
// Display footer text (text can be edited in Blog Settings):
$Blog->footer_text(array('before' => '', 'after' => ' | '));
?>

		<?php 
// Display additional credits:
// If you can add your own credits without removing the defaults, you'll be very cool :))
// Please leave this at the bottom of the page to make sure your blog gets listed on b2evolution.net
if (!credits(array('list_start' => '', 'list_end' => '', 'separator' => ' | ', 'item_start' => ' ', 'item_end' => ' '))) {
    // We're not dipslaying credits, display "Powered by"
    ?>
		Powered by <a href="http://b2evolution.net/" title="Content &amp; Community Management System" target="_blank">b2evolution CMS</a>
				<?php 
}
?>
	</p>

</div>
开发者ID:Ariflaw,项目名称:b2evolution,代码行数:30,代码来源:_body_footer.inc.php

示例8: T_

?>

<!-- =================================== START OF FOOTER =================================== -->
<div id="footer">
<div class="validate">
<a href="http://validator.w3.org/check?uri=referer" title="Validate XHTML">Valid XHTML</a>&nbsp;|&nbsp;
<a href="http://jigsaw.w3.org/css-validator/check?uri=referer"  title="Validate CSS">Valid CSS</a>

</div>

<br />

<?php 
// Display a link to contact the owner of this blog (if owner accepts messages):
$Blog->contact_link(array('before' => '', 'after' => ' &nbsp;|&nbsp; ', 'text' => T_('Contact'), 'title' => T_('Send a message to the owner of this blog...')));
?>

Powered by <a href="http://b2evolution.net/" title="b2evolution home" target="_blank">b2evolution</a>

&nbsp;|&nbsp;

Design by: <a href="http://www.tilqi.com/b2evo">Emin</a>&nbsp;<a href="http://www.prosoftwarez.com/">Ozlem</a> (tilqicom)

<?php 
// Display additional credits:
// If you can add your own credits without removing the defaults, you'll be very cool :))
// Please leave this at the bottom of the page to make sure your blog gets listed on b2evolution.net
credits(array('list_start' => ' &nbsp;|&nbsp; ', 'list_end' => ' ', 'separator' => ' &nbsp;|&nbsp; ', 'item_start' => ' ', 'item_end' => ' '));
?>
</div>
开发者ID:b2evolution,项目名称:cinemovie_skin,代码行数:30,代码来源:_body_footer.inc.php


注:本文中的credits函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。