代码如下,我现在需要把index.asp插入到下面这个主页的上面并居中,我应该如何编写代码? <?php /** * Front to the WordPress application. This file doesn't do anything, but loads * wp-blog-header.php which does and tells WordPress to load the theme. * * @package WordPress *//** * Tells WordPress to load the WordPress theme and output it. * * @var bool */ define('WP_USE_THEMES', true);/** Loads the WordPress Environment and Template */require('./wp-blog-header.php'); ?>
那就直接复制代码粘贴得了 用<?php ?>分界嘛...
while(1){
?><div>1</div><?php
}
?>你看可以不
/* Created on [2011-12-2] Author[yushuai.niu] */
require(dirname(__FILE__)."/../classes/action/mail_action_class.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?=$webpost['config']['charset']?>" />
<title><?=$webpost['config']['title']?></title>
<link type="text/css" rel="stylesheet" href="<?=$webpost['path']['css']?><?=$webpost['css']['style']?>" />
<script type="text/javascript" language="javascript" src="<?=$webpost['path']['js']?><?=$webpost['js']['jquery']?>"></script>
<script type="text/javascript" language="javascript" src="<?=$webpost['path']['js']?><?=$webpost['js']['mail']?>"></script>
<script type="text/javascript" language="javascript" src="<?=$webpost['path']['js']?><?=$webpost['js']['mail_jq']?>"></script>
<script type="text/javascript" language="javascript" src="<?=$webpost['path']['js']?><?=$webpost['js']['mail_ajax']?>"></script>
</head><body onload="autoIframHeight()">
<!-- ============= box:start ============= -->
<div id="box" class="box">代码或者路径,是根据你的需求添加的,哪里需要具体的数据,哪里就echo;哪里需要另一个页面的内容,就include or require。
代码如下,我现在需要把index.asp插入到下面这个主页的上面并居中,我应该如何编写代码?
<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*//**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define('WP_USE_THEMES', true);/** Loads the WordPress Environment and Template */require('./wp-blog-header.php');
?>