ppypp伦理天堂,91手机在线视频,免费在线观看黄色毛片,夜夜穞天天穞狠狠穞AV美女按摩

聯系官方銷售客服

1835022288

028-61286886

投訴 已解決 官方閱讀插件使用問題 1 0
迅睿粉絲 2018-11-01 21:01:37 私信
POSCMS版本:3.3.1
{if $yuedumima}
<?php include_once FCPATH."app/ydmm/func.php";?>
{if dr_is_jiami($id, MOD_DIR)}
{$content}
{else}

<form action="" class="form-horizontal" method="post" name="myform" id="myform">

    <div class="form-group">
        <label class="control-label col-md-2">輸入閱讀密碼</label>
        <div class="col-md-3">
            <label>
                <input type="password" class="form-control" name="password">
            </label>
            <label>
                <button type="button" onclick="mysubmit()" class="btn green"> <i class="fa fa-save"></i> 提交驗證</button>
            </label>
        </div>
    </div>

</form>
<script>
    function mysubmit() {
        $.ajax({
            type: "POST",
            dataType:"json",
            url: '/index.php?s=ydmm&c=home&id={$id}&mid={MOD_DIR}',
            data: $('#myform').serialize(),
            success: function(json) {
              if (json.status) {
                  alert('驗證成功');
                  window.location.reload();
              } else {
                  alert(json.code);
              }
            }
        });
    }
</script>


{/if}
{else}
{$content}
{/if}

我自己替換代碼:

  <div class="portlet-body" style="height: auto;">
                                        <div class="bd"> {if $yuedumima}
<?php include_once FCPATH."app/ydmm/func.php";?>
{if dr_is_jiami($id, MOD_DIR)}
{if $content}{$content}{else}{/if} </div> <style> .bd img{display:block;max-width:100%;height:auto;} .bd{display: block;font-family: "微軟雅黑";font-size: 18px;color: #000000;font-weight: normal;text-decoration: none;} </style>
                                   
                                    {if $ship}{dr_player($ship, 0, 500, 1, 10, $next_page.url, $preview ? $preview : $thumb)}{else}{/if}
{else}

<form action="" class="form-horizontal" method="post" name="myform" id="myform">

    <div class="form-group">
        <label class="control-label">輸入閱讀密碼</label>
        <div>
            <label>
                <input type="password" class="form-control" name="password">
            </label>
            <label>
                <button type="button" onclick="mysubmit()" class="btn green"> <i class="fa fa-save"></i> 提交驗證</button>
            </label>
        </div>
    </div>

</form>
<script>
    function mysubmit() {
        $.ajax({
            type: "POST",
            dataType:"json",
            url: '/index.php?s=ydmm&c=home&id={$id}&mid={MOD_DIR}',
            data: $('#myform').serialize(),
            success: function(json) {
              if (json.status) {
                  alert('驗證成功');
                  window.location.reload();
              } else {
                  alert(json.code);
              }
            }
        });
    }
</script>


{/if}
{else}
{if $content}{$content}{else}{/if} </div> <style> .bd img{display:block;max-width:100%;height:auto;} .bd{display: block;font-family: "微軟雅黑";font-size: 18px;color: #000000;font-weight: normal;text-decoration: none;} </style>
                                   
                                    {if $ship}{dr_player($ship, 0, 500, 1, 10, $next_page.url, $preview ? $preview : $thumb)}{else}{/if}
{/if}
                                    </div>

不知道寫對沒有,現在是輸入密碼 沒有反應 在偽靜態狀態下面

解決方案