本文整理汇总了PHP中space_domain函数的典型用法代码示例。如果您正苦于以下问题:PHP space_domain函数的具体用法?PHP space_domain怎么用?PHP space_domain使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了space_domain函数的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: if
<div class="y">
<a href="member.php?mod=<?php echo $_G['setting']['regname'];?>"><?php echo $_G['setting']['reglinkname'];?></a>
<a href="member.php?mod=logging&action=login" onclick="showWindow('login', this.href)">登录</a>
</div>
<?php } ?>
<div class="z">
<a href="./" title="<?php echo $_G['setting']['bbname'];?>" class="xw1"><?php echo $_G['setting']['bbname'];?></a>
<a href="home.php?mod=space&do=home" id="navs" class="showmenu" onmouseover="showMenu(this.id);">返回首页</a>
</div>
</div>
<?php if($space['status'] == -1 && $_G['adminid'] == 1 ) { ?>
<p class="ptw xw1 xi1 hm"><img src="<?php echo IMGDIR;?>/locked.gif" alt="Locked" class="vm" /> 提示: 作者被禁止或删除 内容自动屏蔽,只有管理员可见</p>
<?php } ?>
<div id="hd" class="wp cl">
<h2 id="spaceinfoshow"><?php space_merge($space, 'field_home'); $space[domainurl] = space_domain($space);getuserdiydata($space);$personalnv = isset($_G['blockposition']['nv']) ? $_G['blockposition']['nv'] : '';?><strong id="spacename" class="mbn">
<?php if($space['spacename']) { ?><?php echo $space['spacename'];?><?php } else { ?><?php echo $space['username'];?>的个人空间<?php } ?>
</strong>
<span class="xs0 xw0">
<a id="domainurl" href="<?php echo $space['domainurl'];?>" onclick="setCopy('<?php echo $space['domainurl'];?>', '空间地址复制成功');return false;"><?php echo $space['domainurl'];?></a>
<a href="javascript:;" onclick="addFavorite(location.href, document.title)">[收藏]</a>
<a id="domainurl" href="<?php echo $space['domainurl'];?>" onclick="setCopy('<?php echo $space['domainurl'];?>', '空间地址复制成功');return false;">[复制]</a>
<?php if(!$space['self']) { if(helper_access::check_module('share')) { ?>
<a id="share_space" href="home.php?mod=spacecp&ac=share&type=space&id=<?php echo $space['uid'];?>" onclick="showWindow(this.id, this.href, 'get', 0);">[分享]</a>
<?php } ?>
<a href="home.php?mod=rss&uid=<?php echo $space['uid'];?>">[RSS]</a>
<?php } ?>
</span>
<span id="spacedescription" class="xs1 xw0 mtn"><?php echo $space['spacedescription'];?></span>
</h2><?php if($_G['adminid'] == 1 && empty($space['self'])) { $personalnv['items'] = array(); $personalnv['banitems'] = array(); $personalnv['nvhidden'] = 0;?><?php } $nvclass = !empty($personalnv['nvhidden']) ? ' class="mininv"' : '';?><div id="nv">
<ul<?php echo $nvclass;?>>
开发者ID:noikiy,项目名称:ejia,代码行数:31,代码来源:2_diy_home_space_album_view.tpl.php
示例2: tname
}
}
/*match wether the public page are followed. by xuxing@ihome end on 2013-1-16*/
//ᅭᅨᄑ
$query = $_SGLOBAL['db']->query("SELECT * FROM " . tname('spaceinfo') . " WHERE uid='{$space['uid']}' AND type IN ('base', 'contact')");
while ($value = $_SGLOBAL['db']->fetch_array($query)) {
$v_friend = ckfriend($value['uid'], $value['friend']);
if (!$v_friend) {
$space[$value['subtype']] = '';
}
}
@(include_once S_ROOT . './data/data_usergroup.php');
//ᄏ�위
$space['star'] = getstar($space['experience']);
//ᅮᅢ
$space['domainurl'] = space_domain($space);
//졔ᄊᆵᅩᆲ
$feedlist = array();
if ($_SGLOBAL['mygroupid'] == 3 || ckprivacy('feed')) {
$query = $_SGLOBAL['db']->query("SELECT * FROM " . tname('feed') . " WHERE uid='{$space['uid']}' AND isdeleted=0 ORDER BY top DESC,dateline DESC LIMIT 0,20 ");
while ($value = $_SGLOBAL['db']->fetch_array($query)) {
$value['share_url'] = get_shareurl($value['idtype'], $value['id']);
if (ckfriend($value['uid'], $value['friend'], $value['target_ids'])) {
realname_set($value['uid'], $value['username']);
$value['num'] = get_commentnum($value['idtype'], $value['id']);
$feedlist[] = $value;
}
}
$feednum = count($feedlist);
}
//채ᅮᄆ■
开发者ID:shiyake,项目名称:php-ihome,代码行数:31,代码来源:space_index.php
示例3: space_merge
</div>
</div>
<?php
if ($space['status'] == -1 && $_G['adminid'] == 1) {
?>
<p class="ptw xw1 xi1 hm"><img src="<?php
echo IMGDIR;
?>
/locked.gif" alt="Locked" class="vm" /> 提示: 作者被禁止或删除 内容自动屏蔽,只有管理员可见</p>
<?php
}
?>
<div id="hd" class="wp cl">
<h2 id="spaceinfoshow"><?php
space_merge($space, 'field_home');
$space[domainurl] = space_domain($space);
getuserdiydata($space);
$personalnv = isset($_G['blockposition']['nv']) ? $_G['blockposition']['nv'] : '';
?>
<strong id="spacename" class="mbn">
<?php
if ($space['spacename']) {
echo $space['spacename'];
} else {
echo $space['username'];
?>
的个人空间<?php
}
?>
</strong>
<span class="xs0 xw0">
开发者ID:kleitz,项目名称:sports,代码行数:31,代码来源:1_1_home_space_header.tpl.php
注:本文中的space_domain函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论