當前位置: 首頁>>代碼示例>>PHP>>正文


PHP osc_logged_user_email函數代碼示例

本文整理匯總了PHP中osc_logged_user_email函數的典型用法代碼示例。如果您正苦於以下問題:PHP osc_logged_user_email函數的具體用法?PHP osc_logged_user_email怎麽用?PHP osc_logged_user_email使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。


在下文中一共展示了osc_logged_user_email函數的7個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: email_text

 public static function email_text()
 {
     if (osc_logged_user_email() == '') {
         $value = self::default_email_text();
     }
     parent::generic_input_text('alert_email', $value);
     return true;
 }
開發者ID:hashemgamal,項目名稱:OSClass,代碼行數:8,代碼來源:Alert.form.class.php

示例2: your_email

 public static function your_email()
 {
     if (Session::newInstance()->_getForm("yourEmail") != "") {
         $email = Session::newInstance()->_getForm("yourEmail");
         parent::generic_input_text("yourEmail", $email, null, false);
     } else {
         parent::generic_input_text("yourEmail", osc_logged_user_email(), null, false);
     }
     return true;
 }
開發者ID:mylastof,項目名稱:os-class,代碼行數:10,代碼來源:Contact.form.class.php

示例3: osc_item_id

" method="post" >
            <input type="hidden" name="action" value="send_friend_post" />
            <input type="hidden" name="page" value="item" />
            <input type="hidden" name="id" value="<?php 
echo osc_item_id();
?>
" />
            <?php 
if (osc_is_web_user_logged_in()) {
    ?>
                            <input type="hidden" name="yourName" value="<?php 
    echo osc_esc_html(osc_logged_user_name());
    ?>
" />
                            <input type="hidden" name="yourEmail" value="<?php 
    echo osc_logged_user_email();
    ?>
" />
            <?php 
} else {
    ?>
            <div class="control-group">
                <label class="control-label" for="yourName"><?php 
    _e("Your name", 'bender');
    ?>
</label>
                <div class="controls ">
                    <?php 
    SendFriendForm::your_name();
    ?>
                </div>
開發者ID:mylastof,項目名稱:os-class,代碼行數:31,代碼來源:item-send-friend.php

示例4: payment_pro_cart_get

<?php

require_once PAYMENT_PRO_PATH . 'CheckoutDataTable.php';
$products = payment_pro_cart_get();
$extra = array('user' => osc_logged_user_id(), 'email' => osc_logged_user_email());
$checkoutDataTable = new CheckoutDataTable();
$checkoutDataTable->table($products);
$aData = $checkoutDataTable->getData();
$aRawRows = $checkoutDataTable->rawRows();
$columns = $aData['aColumns'];
$rows = $aData['aRows'];
?>
<style type="text/css">
    .payments-ul {
        list-style-type:none;
    }
    .payments-ul li
    {
        display: inline-block;
    }
    .payments-preview {
        float:left;
        width: 40%;
    }
    .payments-options {
        float:left;
        width: 60%;
    }
    table.table {
        width: 100%;
        max-width: 100%;
開發者ID:michaelxizhou,項目名稱:myeden69-original-backup,代碼行數:31,代碼來源:checkout.php

示例5: dd_userpic

function dd_userpic()
{
    if (function_exists("profile_picture_show")) {
        current_user_picture();
    } else {
        ?>
     <img src="http://www.gravatar.com/avatar/<?php 
        echo md5(strtolower(trim(osc_logged_user_email())));
        ?>
?s=20&d=<?php 
        echo osc_current_web_theme_url('images/user-default.jpg');
        ?>
" />
<?php 
    }
}
開發者ID:abhi143u11,項目名稱:ads,代碼行數:16,代碼來源:dd-func.php

示例6: item_comments


//.........這裏部分代碼省略.........
                    <?php 
            echo osc_comments_pagination();
            ?>
                </div>
            </div>
            <?php 
        }
        ?>
            <div class="comment_form">
               
                <h2>
                    <?php 
        _e('Leave your comment', 'pop');
        ?>
                </h2>
                <div class="resp-wrapper">
                     <ul id="comment_error_list" class="error_list">
                    </ul>
                    <form action="<?php 
        echo osc_base_url(true);
        ?>
" method="post" name="comment_form" id="comment_form">
                        <fieldset>
                            <input type="hidden" name="action" value="add_comment" />
                            <input type="hidden" name="page" value="item" />
                            <input type="hidden" name="id" value="<?php 
        echo osc_item_id();
        ?>
" />
                            <?php 
        if (osc_is_web_user_logged_in()) {
            ?>
                            <input type="hidden" name="authorName" value="<?php 
            echo osc_esc_html(osc_logged_user_name());
            ?>
" />
                            <input type="hidden" name="authorEmail" value="<?php 
            echo osc_logged_user_email();
            ?>
" />
                            <?php 
        } else {
            ?>
                            <div class="form-group col-md-6">
                                <label class="control-label" for="authorName">
                                    <?php 
            _e('Name', 'pop');
            ?>
                                </label>
                                <div class="controls">
                                    <?php 
            CommentForm::author_input_text();
            ?>
                                </div>
                            </div>
                            <div class="form-group col-md-6">
                                <label class="control-label" for="authorEmail">
                                    <?php 
            _e('Email', 'pop');
            ?>
                                </label>
                                <div class="controls">
                                    <?php 
            CommentForm::email_input_text();
            ?>
                                </div>
                            </div>
                            <?php 
        }
        ?>

                            <div class="form-group col-md-12">
                                <label class="control-label" for="body">
                                    <?php 
        _e('Comment', 'pop');
        ?>
                                </label>
                                <div class="controls textarea">
                                    <?php 
        CommentForm::body_input_textarea();
        ?>
                                </div>
                            </div>
                            <div class="actions col-md-12">
                                <button type="submit" class="btn btn-primary">
                                    <?php 
        _e('Send', 'pop');
        ?>
                                </button>
                            </div>
                        </fieldset>
                    </form>
                </div>
            </div>
        </div>
        <?php 
    }
    ?>
 <?php 
}
開發者ID:oanav,項目名稱:closetshare,代碼行數:101,代碼來源:functions.php

示例7: your_email

 public static function your_email()
 {
     parent::generic_input_text("yourEmail", osc_logged_user_email(), null, false);
     return true;
 }
開發者ID:hashemgamal,項目名稱:OSClass,代碼行數:5,代碼來源:Contact.form.class.php


注:本文中的osc_logged_user_email函數示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。