<ul><?php echo mcurrent_news('news'); ?> </ul> </div> <div id="content" class="clear mainwide"> <div class="clear box"> <div class="box-top"></div> <div class="box-content"> <div class="head"> <?php if ($news['id']) { ?> <h2>编辑新闻</h2> <ul class="filter"><?php echo current_managenews('edit', $news['id']); ?> </ul> <?php } else { ?> <h2>新建新闻</h2> <?php } ?> </div> <div class="sect"> <form id="-user-form" method="post" action="/manage/news/edit.php?id=<?php echo $news['id']; ?> " enctype="multipart/form-data" class="validator">
<?php include template("manage_header");?> <div id="bdw" class="bdw"> <div id="bd" class="cf"> <div id="leader"> <div class="dashboard" id="dashboard"> <ul><?php echo mcurrent_news('news'); ?></ul> </div> <div id="content" class="clear mainwide"> <div class="clear box"> <div class="box-top"></div> <div class="box-content"> <div class="head"> <?php if($news['id']){?> <h2>编辑新闻</h2> <ul class="filter"><?php echo current_managenews('edit', $news['id']); ?></ul> <?php } else { ?> <h2>新建新闻</h2> <?php }?> </div> <div class="sect"> <form id="-user-form" method="post" action="/manage/news/edit.php?id=<?php echo $news['id']; ?>" enctype="multipart/form-data" class="validator"> <input type="hidden" name="id" value="<?php echo $news['id']; ?>" /> <div class="field"> <label>新闻标题</label> <input type="text" size="30" name="title" id="team-create-title" class="f-input" value="<?php echo htmlspecialchars($news['title']); ?>" datatype="require" require="true" /> </div> <div class="field"> <label>新闻时间</label> <input type="text" size="10" name="begin_time" id="team-create-begin-time" class="date" xd="<?php echo date('Y-m-d H:i:s', $news['begin_time']); ?>" xt="<?php echo date('H:i:s', $news['begin_time']); ?>" value="<?php echo date('Y-m-d H:i:s', $news['begin_time']); ?>" maxLength="10" /> </div>