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


PHP osc_user函数代码示例

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


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

示例1: osc_add_hook

 */
// meta tag robots
osc_add_hook('header', 'osclassclsx_nofollow_construct');
osclassclsx_add_body_class('user user-profile');
osc_add_hook('before-main', 'sidebar');
function sidebar()
{
    osc_current_web_theme_path('user-sidebar.php');
}
osc_add_filter('meta_title_filter', 'custom_meta_title');
function custom_meta_title($data)
{
    return __('Alerts', 'osclassclsx');
}
osc_current_web_theme_path('header.php');
$osc_user = osc_user();
?>
<h1><?php 
_e('Alerts', 'osclassclsx');
?>
</h1>
<?php 
if (osc_count_alerts() == 0) {
    ?>
    <h3><?php 
    _e('You do not have any alerts yet', 'osclassclsx');
    ?>
.</h3>
<?php 
} else {
    ?>
开发者ID:kraymond70,项目名称:osclassclsx,代码行数:31,代码来源:user-alerts.php

示例2: osc_current_user_locale

          <div class="controls">
            <?php 
UserForm::info_textarea('s_info', osc_current_user_locale(), @$osc_user['locale'][osc_current_user_locale()]['s_info']);
?>
          </div>
        </div>
        <?php 
osc_run_hook('user_profile_form', osc_user());
?>
        <div class="form-group">
          <div class="controls">
            <button type="submit" class="btn btn-success">
            <?php 
_e("Update", OSCLASSWIZARDS_THEME_FOLDER);
?>
            </button>
          </div>
        </div>
        <div class="form-group">
          <div class="controls">
            <?php 
osc_run_hook('user_form', osc_user());
?>
          </div>
        </div>
      </form>
    </div>
  </div>
</div>
<?php 
osc_current_web_theme_path('footer.php');
开发者ID:syedfiraat4,项目名称:bikade.com,代码行数:31,代码来源:user-profile.php

示例3: _e

                            <div class="row">
                                <label for="address"><?php 
_e('Address', 'modern');
?>
</label>
                                <?php 
UserForm::address_text(osc_user());
?>
                            </div>
                            <div class="row">
                                <label for="webSite"><?php 
_e('Website', 'modern');
?>
</label>
                                <?php 
UserForm::website_text(osc_user());
?>
                            </div>
                            <div class="row">
                                <button type="submit"><?php 
_e('Update', 'modern');
?>
</button>
                            </div>
                            <?php 
osc_run_hook('user_form');
?>
                        </fieldset>
                    </form>
                </div>
            </div>
开发者ID:acharei,项目名称:OSClass,代码行数:31,代码来源:user-profile.php

示例4: _e

?>
</label>
                                <div class="controls">
                                    <?php 
ItemForm::city_area_text(osc_user());
?>
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label" for="address"><?php 
_e('Address', 'bender');
?>
</label>
                                <div class="controls">
                                  <?php 
ItemForm::address_text(osc_user());
?>
                                </div>
                            </div>
                        </div>
                        <!-- seller info -->
                        <?php 
if (!osc_is_web_user_logged_in()) {
    ?>
                        <div class="box seller_info">
                            <h2><?php 
    _e("Seller's information", 'bender');
    ?>
</h2>
                            <div class="control-group">
                                <label class="control-label" for="contactName"><?php 
开发者ID:mylastof,项目名称:os-class,代码行数:31,代码来源:item-post.php

示例5: _e

                            <?php 
UserForm::address_text(osc_user());
?>
                        </div>
                        <div class="row">
                            <label for="webSite"><?php 
_e('Website', 'modern');
?>
</label>
                            <?php 
UserForm::website_text(osc_user());
?>
                        </div>
                        <div class="row">
                            <?php 
UserForm::multilanguage_info($locales, osc_user());
?>
                        </div>
                        <div class="row">
                            <button type="submit"><?php 
_e('Update', 'modern');
?>
</button>
                            <button id="delete_account" type="button"><?php 
_e('Delete my account', 'modern');
?>
</button>
                        </div>
                        <?php 
osc_run_hook('user_form');
?>
开发者ID:jmcclenon,项目名称:Osclass,代码行数:31,代码来源:user-profile.php

示例6: osc_item

                                <?php 
    ItemForm::city_select(null, osc_item());
    ?>
                                <?php 
}
?>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label" for="cityArea"><?php 
_e('City Area', 'pop');
?>
</label>
                            <div class="controls">
                                <?php 
ItemForm::city_area_text(osc_user());
?>
                            </div>
                        </div>

                    </div>
                </div>

                <!-- seller info -->
                <?php 
if (!osc_is_web_user_logged_in()) {
    ?>
                <section class="seller_info box">
                    <div class="control-group header">
                        <?php 
    _e("Contact details", 'pop');
开发者ID:oanav,项目名称:closetshare,代码行数:31,代码来源:item-post.php

示例7: exit

<?php

if (!defined('ABS_PATH')) {
    exit('ABS_PATH is not loaded. Direct access is not allowed.');
}
$item = osc_user();
$address = isset($item['s_address']) ? $item['s_address'] : '';
$lat = isset($item['d_coord_lat']) ? $item['d_coord_lat'] : '';
$long = isset($item['d_coord_long']) ? $item['d_coord_long'] : '';
?>

<div class="form-group control-group">
	<label for="dln_address" class="col-sm-2 control-label">Address</label>
	<div class="col-sm-10 controls">
		<input class="form-control" id="dln_address" name="dln_address" type="text" value="<?php 
echo $address;
?>
"/>
	</div>
</div>

<div id="dln_field_google" style="height: 300px; width: 100%"></div>
<input type="hidden" id="dln_lat" name="dln_lat" value="<?php 
echo $lat;
?>
" />
<input type="hidden" id="dln_long" name="dln_long" value="<?php 
echo $long;
?>
" />
开发者ID:httvncoder,项目名称:151722441,代码行数:30,代码来源:field-google.php

示例8: osc_user

                                    </div>
                                </div>
                               
                                <div class="form-group">
                                   
                                    <div class="col-md-12">
                                        <?php 
UserForm::region_select(osc_get_regions(), osc_user());
?>
                                    </div>
                                </div>
                                <div class="form-group">
                                   
                                    <div class="col-md-12">
                                        <?php 
UserForm::city_select(osc_get_cities(), osc_user());
?>
                                    </div>
                                </div>
                                
                               
                            
                    <div class="form-group">
                    	<input type="password" name="s_password" class="form-control" id="s_password" placeholder="<?php 
_e('Password', 'flatter');
?>
">
                  	</div>
                    <div class="form-group">
                    	<input type="password" name="s_password2" class="form-control" id="s_password2" placeholder="<?php 
_e('Repeat password', 'flatter');
开发者ID:abhi143u11,项目名称:ads,代码行数:31,代码来源:user-register.php

示例9: _e

                            <?php 
UserForm::address_text(osc_user());
?>
                        </div>
                        <div class="row ui-row-text">
                            <label for="webSite"><?php 
_e('Website', 'realestate');
?>
</label>
                            <?php 
UserForm::website_text(osc_user());
?>
                        </div>
                        <div class="row ui-row-text">
                            <?php 
UserForm::multilanguage_info(osc_get_locales(), osc_user());
?>
                        </div>
                        <div class="actions">
                            <a href="#" class="ui-button ui-button-gray js-submit"><?php 
_e("Update", 'realestate');
?>
</a>
                        </div>
                        <?php 
osc_run_hook('user_form');
?>
                    </fieldset>
                </form>
            </div>
        </div>    
开发者ID:blairmain,项目名称:theme-realestate,代码行数:31,代码来源:user-profile.php


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