Changeset 3299 for sandbox/blog/owner/setting/account/index.php
- Timestamp:
- 05/21/07 01:56:13 (20 months ago)
- Files:
-
- 1 modified
-
sandbox/blog/owner/setting/account/index.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sandbox/blog/owner/setting/account/index.php
r3138 r3299 228 228 ?> //]]> 229 229 </script> 230 230 231 232 <?php 233 // 팀블로그 :: 사용자 이름 받아오기 234 $CH_user = DBQuery::queryRow("SELECT name, loginid FROM {$database['prefix']}Users WHERE userid='$_SESSION[admin]'"); 235 // End TeamBlog 236 ?> 237 238 231 239 <div id="part-setting-account" class="part"> 232 240 <h2 class="caption"><span class="main-text"><?php echo _t('회원정보를 관리합니다');?></span></h2> … … 239 247 <dl id="blogger-name-line" class="line"> 240 248 <dt><label for="nickname"><?php echo _t('필명');?></label></dt> 241 <dd><input type="text" id="nickname" class="input-text" value="<?php echo htmlspecialchars($ user['name']);?>" onkeydown="if(event.keyCode == 13) save();" /></dd>249 <dd><input type="text" id="nickname" class="input-text" value="<?php echo htmlspecialchars($CH_user['name']);?>" onkeydown="if(event.keyCode == 13) save();" /></dd> 242 250 </dl> 243 251 <dl id="blogger-email-line" class="line"> 244 252 <dt><label for="email"><?php echo _t('e-mail');?></label></dt> 245 253 <dd> 246 <input type="text" id="email" class="input-text" value="<?php echo htmlspecialchars( User::getEmail());?>" />254 <input type="text" id="email" class="input-text" value="<?php echo htmlspecialchars($CH_user['loginid']);?>" /> 247 255 <em><?php echo _t('(로그인시 ID로 사용됩니다)');?></em> 248 256 </dd> … … 281 289 282 290 <?php 283 if (($service['type'] != 'single') && (getUserId() == 1) ) {291 if (($service['type'] != 'single') && (getUserId() == 1) && ($_SESSION['admin'] == 1)) { 284 292 $urlRule = getBlogURLRule(); 285 293 ?>
