当前位置: 首页>>代码示例>>PHP>>正文


PHP show_alert_message函数代码示例

本文整理汇总了PHP中show_alert_message函数的典型用法代码示例。如果您正苦于以下问题:PHP show_alert_message函数的具体用法?PHP show_alert_message怎么用?PHP show_alert_message使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了show_alert_message函数的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: validation_errors

<?php

$this->managelayout->add_css(element('view_skin_url', $layout) . '/css/style.css');
?>

<div class="board">
    <div class="table-box">
        <div class="table-heading">패스워드 입력</div>
        <div class="table-body change_pw">

            <?php 
echo validation_errors('<div class="alert alert-warning" role="alert">', '</div>');
echo show_alert_message(element('message', $view), '<div class="alert alert-auto-close alert-dismissible alert-info"><button type="button" class="close alertclose" >&times;</button>', '</div>');
echo show_alert_message($this->session->flashdata('message'), '<div class="alert alert-auto-close alert-dismissible alert-info"><button type="button" class="close alertclose" >&times;</button>', '</div>');
$attributes = array('class' => 'form-horizontal', 'name' => 'fpassword', 'id' => 'fpassword');
echo form_open(current_url(), $attributes);
?>
                <div class="alert alert-dismissible alert-info infoalert"><?php 
echo element('info', $view);
?>
</div>
                <ol class="confirm_password">
                    <li>
                        <span>패스워드</span>
                        <input type="password" class="input" id="modify_password" name="modify_password">
                    </li>
                    <li>
                        <span></span>
                        <button type="submit" class="btn btn-black">확인</button>
                    </li>
                </ol>
开发者ID:smboy86,项目名称:zzing,代码行数:31,代码来源:password.php

示例2: validation_errors

<?php

$this->managelayout->add_css(element('view_skin_url', $layout) . '/css/style.css');
?>

<div class="findarea">
    <div class="table-box">
        <div class="table-heading">패스워드 변경하기</div>
        <div class="table-body change_pw">

            <?php 
echo validation_errors('<div class="alert alert-warning" role="alert">', '</div>');
echo show_alert_message(element('error_message', $view), '<div class="alert alert-dismissible alert-warning"><button type="button" class="close alertclose" >&times;</button>', '</div>');
echo show_alert_message(element('success_message', $view), '<div class="alert alert-dismissible alert-info"><button type="button" class="close alertclose" >&times;</button>', '</div>');
echo show_alert_message(element('info', $view), '<div class="alert alert-info">', '</div>');
if (!element('error_message', $view) && !element('success_message', $view)) {
    $attributes = array('class' => 'form-horizontal', 'name' => 'fresetpw', 'id' => 'fresetpw');
    echo form_open(current_full_url(), $attributes);
    ?>
                <h3>패스워드 변경</h3>
                <ol class="change_password">
                    <li>
                        <span>아이디</span>
                        <?php 
    echo element('mem_userid', $view);
    ?>
                    </li>
                    <li>
                        <span>새로운 패스워드</span>
                        <input type="password" name="new_password" id="new_password" class="input" placeholder="Password" />
                    </li>
开发者ID:smboy86,项目名称:zzing,代码行数:31,代码来源:findaccount_change_pw.php

示例3: validation_errors

<?php

$this->managelayout->add_css(element('view_skin_url', $layout) . '/css/style.css');
?>

<div class="findarea">
    <div class="table-box">
        <div class="table-heading">계정 찾기</div>
        <div class="table-body">
            <div class=" findaccount">
                <?php 
echo validation_errors('<div class="alert alert-warning" role="alert">', '</div>');
echo show_alert_message(element('message', $view), '<div class="alert alert-auto-close alert-dismissible alert-info"><button type="button" class="close alertclose" >&times;</button>', '</div>');
$attributes = array('name' => 'findidpwform', 'id' => 'findidpwform');
echo form_open(current_full_url(), $attributes);
?>
                    <input type="hidden" name="findtype" value="findidpw" />
                    <h3>이메일 주소로 계정 찾기</h3>
                    <p class="text">아이디/비밀번호는 가입시 등록한 메일 주소로 알려드립니다. 가입할 때 등록한 메일 주소를 입력하고 "ID/PW 찾기" 버튼을 클릭해주세요.</p>
                    <div class="group">
                        <input type="email" name="idpw_email" id="idpw_email" class="input" placeholder="Email Address" />
                        <button class="btn btn-black btn-sm" type="submit">ID/PW 찾기</button>
                    </div>
                <?php 
echo form_close();
$attributes = array('name' => 'verifyemailform', 'id' => 'verifyemailform');
echo form_open(current_full_url(), $attributes);
?>
                    <input type="hidden" name="findtype" value="verifyemail" />
                    <h3 class="mt30">인증메일 재발송</h3>
                    <p class="text">회원가입이나, 이메일주소 변경 후 인증 메일을 받지 못한 경우 다시 받을 수 있습니다.</p>
开发者ID:smboy86,项目名称:zzing,代码行数:31,代码来源:findaccount.php

示例4: validation_errors

<script type="text/javascript" src="http://dmaps.daum.net/map_js_init/postcode.v2.js"></script>
<div class="box">
    <div class="box-table">
        <?php 
echo validation_errors('<div class="alert alert-warning" role="alert">', '</div>');
echo show_alert_message(element('message', $view), '<div class="alert alert-warning">', '</div>');
$attributes = array('class' => 'form-horizontal', 'name' => 'fadminwrite', 'id' => 'fadminwrite');
echo form_open_multipart(current_full_url(), $attributes);
?>
            <input type="hidden" name="<?php 
echo element('primary_key', $view);
?>
"    value="<?php 
echo element(element('primary_key', $view), element('data', $view));
?>
" />
            <div class="form-horizontal">
                <div class="form-group">
                    <label class="col-sm-2 control-label">회원아이디</label>
                    <div class="col-sm-10 form-inline">
                        <input type="text" class="form-control" name="mem_userid" value="<?php 
echo set_value('mem_userid', element('mem_userid', element('data', $view)));
?>
" />
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">회원이메일</label>
                    <div class="col-sm-8">
                        <input type="email" class="form-control" name="mem_email" value="<?php 
echo set_value('mem_email', element('mem_email', element('data', $view)));
开发者ID:smboy86,项目名称:zzing,代码行数:31,代码来源:write.php


注:本文中的show_alert_message函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。