php 仿Comsenzå®è£ ææ代ç æå æä¾ä¸è½½_PHP
程序员文章站
2022-04-08 15:32:39
...
æç»çææå¦ä¸ï¼
$title
$version $install_lang $release
EOT;
$step > 0 && $this->show_step($step);
}
function show_step($step) {
$laststep = 4;
$title = '仿Comsenzå®è£ ';
$comment = 'æ£å¨æ§è¡æä½';
$stepclass = array();
for($i = 1; $i $stepclass[$i] = $i == $step ? 'current' : ($i }
$stepclass[$laststep] .= ' last';
echo
EOT;
}
function show_install() {
?>
}
function runquery() {
for($i=1;$i{
$this->showjsmessage('æ§è¡æä½'.' '.$i.' ... '.'æå');
//模ææ¯æ§è¡å®ä¸ä¸ªå¨ä½ç延æ¶
sleep(1);
}
}
function showjsmessage($message) {
echo ''."\r\n";
flush();
ob_flush();
}
function show_footer($quit = true) {
echo
step.inc.php å®è£
æ¥éª¤ææç±»ï¼
å¤å¶ä»£ç 代ç å¦ä¸:
/**
* step.inc.php å®è£
æ¥éª¤ææç±» *
* ä»Comsenz产åçæ°æ®è¡¨å®è£
ææä¸æååºä¸»è¦ä»£ç ï¼ä»¥ä¾å¤§å®¶å¦ä¹
* @author tianxin
* @version 1.0.0 *
*/
class StepClass {
function show_header() {
define('SHOW_HEADER', TRUE);
$step = 1;
$version = 'beta1.0';
$release = '20100223';
$install_lang = 'ç®ä½ä¸æUTF8ç';
$title = '仿Comsenzå®è£
';
$charset = 'uft-8';
echo
$title
$version $install_lang $release
EOT;
$step > 0 && $this->show_step($step);
}
function show_step($step) {
$laststep = 4;
$title = '仿Comsenzå®è£ ';
$comment = 'æ£å¨æ§è¡æä½';
$stepclass = array();
for($i = 1; $i $stepclass[$i] = $i == $step ? 'current' : ($i }
$stepclass[$laststep] .= ' last';
echo
$title
$comment
- 1
- 2
- 3
- 4
EOT;
}
function show_install() {
?>
}
function runquery() {
for($i=1;$i{
$this->showjsmessage('æ§è¡æä½'.' '.$i.' ... '.'æå');
//模ææ¯æ§è¡å®ä¸ä¸ªå¨ä½ç延æ¶
sleep(1);
}
}
function showjsmessage($message) {
echo ''."\r\n";
flush();
ob_flush();
}
function show_footer($quit = true) {
echo