예제 #1
0
?>
            </p>
            <div class="ml30 mt20 forFindEdit">
                <div class="clearfix mt10">
                    <div class="fl f14 zxPost-part0check-item" id="threadtitle-shell">
<?php
if(AskSessionInfo::TITLE_OK == AskSessionInfo::getThreadTitleStatus())
{
?>
                        <?=XString::changeBlank2nbspAndLtrim($threadTitle)?>
<?php
}
else
{
?>
                        <p style="position:relative">
                        <input type="text" id="threadtitle-shell-input" class="titleInput" value="<?=$threadTitle?>"/>
                        </p>
                        <p class="pt10 zxPost-saveBtnShell"><span class="orange">*</span><span class="gray4">字数限制5-25个字</span></p>
<?php
}
?>
                    </div>
                    <div class="fr">
                        <a href="javascript:" class="zxPost-edit <?=AskSessionInfo::TITLE_OK == AskSessionInfo::getThreadTitleStatus()?'':'none'?>" id="threadtitleedit">修改</a>
                    </div>
                </div>

            </div>
        </div>
예제 #2
0
<body>

    <!-- start zxPostTop -->
    <?php include("_header.php") ?>
    <!-- end zxPostTop -->

    <div class="zxPost">
        <!-- start zx-doctor -->
        <?php include("_askspace.php");?>
        <!-- end zx-doctor -->

        <!-- start zxPost-checkShell -->
        <div id="zxPost-checkShell">
            <h1 class="fn f24 f-yahei tc black pt40 pb20"><img src="http://i1.hdfimg.com/zixun/images/finish40.png" align="absmiddle" width="30">
<?php 
switch (AskSessionInfo::getThreadTitleStatus())
{
case AskSessionInfo::TITLE_OK:
    echo '您完成了,预览确认后提交!';
    break;
case AskSessionInfo::TITLE_EMPTY:
    echo '请您填写标题,确认后提交!';
    break;
default:
    echo '请您重新填写标题,确认后提交!';
}
?>
            </h1>

            <!-- start zxPost-check -->
            <?php include("_threadtitle.php") ?>