function iconimg($id, $type = false, $prefix = '../') { if ($icon = geticon($id, $type)) { return '<img src="' . $prefix . $icon . '" alt="" style="vertical-align:middle;" /> '; } return ''; }
function exec($args, $stdin, &$stdout, &$stderr, &$system) { $object = new mObject(getNode($_SESSION['murrix']['path'])); $links = $object->getLinks(); if ($args == "-l") { $stdout .= "total ".count($links)."\n"; if (count($links) > 0) { $stdout .= "<table cellspacing=\"0\">"; $stdout .= "<tr class=\"table_title\">"; $stdout .= "<td>Id</td>"; $stdout .= "<td>Type</td>"; $stdout .= "<td>Remote node</td>"; $stdout .= "<td>Remote node is on...</td>"; $stdout .= "</tr>"; foreach ($links as $link) { if ($link['remote_id'] <= 0) $remote = ucf(i18n("unknown")); else { $remote_obj = new mObject($link['remote_id']); $remote = cmd(img(geticon($remote_obj->getIcon()))." ".$remote_obj->getName(), "exec=show&node_id=".$remote_obj->getNodeId()); } $stdout .= "<tr>"; $stdout .= "<td>".$link['id']."</td>"; $stdout .= "<td>".$link['type']."</td>"; $stdout .= "<td>".$remote."</td>"; $stdout .= "<td>".ucf(i18n($link['direction']))."</td>"; $stdout .= "</tr>"; } $stdout .= "</table>"; } } else { foreach ($links as $link) { if ($link['remote_id'] > 0) { $remote_obj = new mObject($link['remote_id']); $stdout .= cmd($remote_obj->getName(), "exec=show&node_id=".$remote_obj->getNodeId())." "; } } } return true; }
function exec($args, $stdin, &$stdout, &$stderr, &$system) { $object = new mObject(getNode($_SESSION['murrix']['path'])); $children = fetch("FETCH node WHERE link:node_top='".$object->getNodeId()."' AND link:type='sub' NODESORTBY property:version SORTBY ".$object->getMeta("sort_by", "property:name")); if ($args == "-l") { $stdout .= "total ".count($children)."\n"; if (count($children) > 0) { $stdout .= "<table cellspacing=\"0\">"; $stdout .= "<tr class=\"table_title\">"; $stdout .= "<td>Id</td>"; $stdout .= "<td>Rev.</td>"; $stdout .= "<td>Lang.</td>"; $stdout .= "<td>Class</td>"; $stdout .= "<td>Rights</td>"; $stdout .= "<td>User</td>"; $stdout .= "<td>Time</td>"; $stdout .= "<td>Name</td>"; $stdout .= "</tr>"; foreach ($children as $child) { $user = $child->getUser(); $stdout .= "<tr>"; $stdout .= "<td>".$child->getNodeId()."</td>"; $stdout .= "<td>".$child->getVersion()."</td>"; $stdout .= "<td>".$child->getLanguage()."</td>"; $stdout .= "<td>".$child->getClassName()."</td>"; $stdout .= "<td>".$child->getRights()."</td>"; $stdout .= "<td>".$user->username."</td>"; $stdout .= "<td>".$child->getCreated()."</td>"; $stdout .= "<td>".cmd(img(geticon($child->getIcon(), 16))." ".$child->getName(), "exec=show&node_id=".$child->getNodeId())."</td>"; $stdout .= "</tr>"; } $stdout .= "</table>"; } } else { foreach ($children as $child) $stdout .= $child->getName()." "; } return true; }
function exec($args, $stdin, &$stdout, &$stderr, &$system) { $args = str_replace("*", "%", $args); $children = fetch("FETCH node WHERE property:name LIKE '%$args%' NODESORTBY property:version SORTBY property:name"); $children = getReadable($children); $stdout .= "total ".count($children)."\n"; if (count($children) > 0) { $stdout .= "<table cellspacing=\"0\">"; $stdout .= "<tr class=\"table_title\">"; $stdout .= "<td>Id</td>"; $stdout .= "<td>Rev.</td>"; $stdout .= "<td>Lang.</td>"; $stdout .= "<td>Class</td>"; $stdout .= "<td>Rights</td>"; $stdout .= "<td>User</td>"; $stdout .= "<td>Group</td>"; $stdout .= "<td>Time</td>"; $stdout .= "<td>Name</td>"; $stdout .= "</tr>"; foreach ($children as $child) { $user = $child->getUser(); $group = $child->getGroup(); $stdout .= "<tr>"; $stdout .= "<td>".$child->getNodeId()."</td>"; $stdout .= "<td>".$child->getVersion()."</td>"; $stdout .= "<td>".$child->getLanguage()."</td>"; $stdout .= "<td>".$child->getClassName()."</td>"; $stdout .= "<td>".$child->getRights()."</td>"; $stdout .= "<td>".$user->username."</td>"; $stdout .= "<td>".$group->name."</td>"; $stdout .= "<td>".$child->getCreated()."</td>"; $stdout .= "<td>".cmd(img(geticon($child->getIcon(), 16))." ".$child->getName(), "exec=show&node_id=".$child->getNodeId())."</td>"; $stdout .= "</tr>"; } $stdout .= "</table>"; } return true; }
function exec($args, $stdin, &$stdout, &$stderr, &$system) { $object = new mObject(getNode($_SESSION['murrix']['path'])); $user = $object->getUser(); $stdout .= "<table cellspacing=\"0\">"; $stdout .= "<tr><td class=\"titlename\">Name</td><td>".cmd($object->getName(), "exec=show'&node_id=".$object->getNodeId())."</td></tr>"; $stdout .= "<tr><td class=\"titlename\">Icon</td><td>".img(geticon($object->getIcon(), 16))."</td></tr>"; $stdout .= "<tr><td class=\"titlename\">Id</td><td>".$object->getNodeId()."</td></tr>"; $stdout .= "<tr><td class=\"titlename\">Revision</td><td>".$object->getVersion()."</td></tr>"; $stdout .= "<tr><td class=\"titlename\">Language</td><td>".$object->getLanguage()."</td></tr>"; $stdout .= "<tr><td class=\"titlename\">Class</td><td>".$object->getClassName()."</td></tr>"; $stdout .= "<tr><td class=\"titlename\">Rights</td><td>".$object->getRights()."</td></tr>"; $stdout .= "<tr><td class=\"titlename\">User</td><td>".$user->username."</td></tr>"; $stdout .= "<tr><td class=\"titlename\">Time</td><td>".$object->getCreated()."</td></tr>"; $stdout .= "</table>"; return true; }
function exec($args, $stdin, &$stdout, &$stderr, &$system) { $object = new mObject(getNode($_SESSION['murrix']['path'])); $versions = fetch("FETCH object WHERE property:node_id='".$object->getNodeId()."' NODESORTBY property:language,property:version,property:name"); $stdout .= "total ".count($versions)."\n"; if (count($versions) > 0) { $stdout .= "<table cellspacing=\"0\">"; $stdout .= "<tr class=\"table_title\">"; $stdout .= "<td>Id</td>"; $stdout .= "<td>Rev.</td>"; $stdout .= "<td>Lang.</td>"; $stdout .= "<td>Class</td>"; $stdout .= "<td>Rights</td>"; $stdout .= "<td>User</td>"; $stdout .= "<td>Group</td>"; $stdout .= "<td>Time</td>"; $stdout .= "<td>Name</td>"; $stdout .= "</tr>"; foreach ($versions as $version) { $user = $version->getUser(); $group = $version->getGroup(); $stdout .= "<tr>"; $stdout .= "<td>".$version->getId()."</td>"; $stdout .= "<td>".$version->getVersion()."</td>"; $stdout .= "<td>".$version->getLanguage()."</td>"; $stdout .= "<td>".$version->getClassName()."</td>"; $stdout .= "<td>".$version->getRights()."</td>"; $stdout .= "<td>".$user->username."</td>"; $stdout .= "<td>".$group->name."</td>"; $stdout .= "<td>".$version->getCreated()."</td>"; $stdout .= "<td>".img(geticon($version->getIcon(), 16))." ".$version->getName()."</td>"; $stdout .= "</tr>"; } $stdout .= "</table>"; } return true; }
echo "<a href=" . $Global['home_2domain'] . "/" . $rows['userid'] . " target=_blank>" . $tmpnickname[0] . "</a>"; ?> </td> <td width="99" align="center"><font color="#FF0000"><b><?php echo $rows['bbsnum']; ?> </b></font> <font color="#999999">/</font> <font color="#FF0000"> <?php echo $rows['click']; ?> </font></td> <td width="219"> <?php echo " <font color=#666666>" . date_format2($rows['endtime'], '%Y-%m-%d %H:%M') . "</font> <font color=#cccccc>|</font> "; $tmpnicknameend = explode("|", $rows['endnicknamesexgradephoto_s']); $tmpgradeend = $tmpnicknameend[1] . $tmpnicknameend[2]; geticon($tmpgradeend); echo "<a href=" . $Global['home_2domain'] . "/" . $rows['userid'] . " target=_blank>" . $tmpnicknameend[0] . "</a>"; ?> </td> </tr> </table></td> </tr> </table> <?php } } else { ?> <table width="980" height="81" border="0" align="center" cellpadding="0" cellspacing="0" background="images/bkbg.gif"> <tr> <td align="center" style="padding-top:2px;padding-bottom:2px;"><font color="#999999">..暂无信息..</font></td> </tr>
$arm_itm = get_basic_item($criteria, $_GET['page'], $limit); for ($i = 1; $i <= count($arm_itm); $i++) { ?> <div class='item-line'> <a href="item?item=<?php echo $arm_itm[$i]['entry']; ?> " class="skinnytip" data-text="<div style='width:600px;'><img class='armory-itemicon' src='<?php echo geticon($arm_itm[$i]['display']); ?> ' width='46' height='46' /><div class='item-frame'><?php echo return_item_string($arm_itm[$i]['entry']); ?> </div></div>"> <img class='armory-itemicon' src='<?php echo geticon($arm_itm[$i]['display']); ?> ' width='23' height='23' /><div class='armory-item-name'><?php echo qualityString($arm_itm[$i]['quality'], $arm_itm[$i]['name']); ?> </div> </a> <div class='item-invtype-l'><?php echo inventorytypeString($arm_itm[$i]['intentorytype']); ?> </div> <div class='item-class-l'><?php echo itemclass($arm_itm[$i]['class'], $arm_itm[$i]['subclass']); ?> </div> <div class='item-lvl'><?php
function GetFolderList($d, $dir = '', $type = '') { $sDir = trim($d); $type = strtolower($type); strpos($sDir, '.') !== false && exit('What are you doing?'); $s_Url = ""; $FDir = iPATH . $dir . '/'; $sCurrDir = $FDir; if ($sDir != "") { if (is_dir($FDir . $sDir)) { $sCurrDir = $FDir . $sDir . "/"; } else { $sDir = ""; } $s_Url = strrpos($sDir, "/") !== false ? substr($sDir, 0, strrpos($sDir, "/")) : ""; $parentfolder = $s_Url; } if ($handle = opendir($sCurrDir)) { while (false !== ($file = readdir($handle))) { $sFileType = filetype($sCurrDir . "/" . $file); switch ($sFileType) { case "dir": if ($file != '.' && $file != '..' && $file != 'admin') { $oDirs[] = $file; } break; case "file": $oFiles[] = $file; break; default: } } } if (isset($oDirs)) { foreach ($oDirs as $oDir) { $s_Url = $sDir == "" ? $oDir : $sDir . "/" . $oDir; $folder[] = array('path' => $s_Url, 'dir' => $oDir); } } $nFileNum = isset($oFiles) ? count($oFiles) : 0; if ($nFileNum > 0) { foreach ($oFiles as $oFile) { $sFileName = $sCurrDir . $oFile; if (getext($oFile)) { $s_Url = $sDir == "" ? $oFile : $sDir . "/" . $oFile; if ($type && strstr($type, getext($oFile)) !== false) { $FileList[] = array('path' => $s_Url, 'name' => $oFile, 'time' => get_date(filemtime($sFileName), "Y-m-d H:i"), 'icon' => geticon($oFile), 'ext' => getext($oFile), 'size' => GetFileSize(filesize($sFileName))); } elseif (empty($type)) { $FileList[] = array('path' => $s_Url, 'name' => $oFile, 'time' => get_date(filemtime($sFileName), "Y-m-d H:i"), 'icon' => geticon($oFile), 'ext' => getext($oFile), 'size' => GetFileSize(filesize($sFileName))); } } } } $s_Url = $sDir == "" ? "/" : "/" . $sDir . "/"; $R['FileList'] = $FileList; $R['parentfolder'] = $parentfolder; $R['folder'] = $folder; return $R; }
"> </td> <td> <?php echo ucf(i18n("icon")); ?> : <input class="hidden" type="hidden" name="icon" id="icon" value="<?php echo $object->getIcon(false); ?> "/> <a href="javascript:void(null);" onclick="popWin=open('<?php echo gettpl_www("popups/iconbrowse"); ?> ?input_id=icon&form_id=sEdit','PopUpWindow','width=500,height=400,scrollbars=1,status=0'); popWin.opener = self; popWin.focus(); popWin.moveTo(150,50); return false"><img id="icon_img" src="<?php echo geticon($object->getIcon()); ?> "/></a> </td> <td> <?php echo ucf(i18n("language")); ?> : <select class="select" name="language"> <? $selected_lang = $object->getLanguage(); if (empty($selected_lang)) $selected_lang = $_SESSION['murrix']['language']; foreach ($_SESSION['murrix']['languages'] as $language)
?> </div> <div class="itmicn"> <?php if (isset($charinfo->data3[13])) { $trinket2 = get_item_data($charinfo->data3[13]); ?> <a href="" class="skinnytip" data-text="<div style='width:600px;'><img class='armory-itemicon' src='<?php echo geticon($trinket2['displayID']); ?> ' width='46' height='46' /><div class='item-frame'><?php echo return_item_string($trinket2['entry']); ?> </div></div>"> <img class='armory-itemicon' src='<?php echo geticon($trinket2['displayID']); ?> ' width='30' height='30' /> </a> <?php } else { ?> <a href="" class="skinnytip" data-text="<div style='width:600px;'><img class='armory-itemicon' src='http://wow.zamimg.com/images/wow/icons/large/inv_misc_questionmark.jpg' width='46' height='46' /><div class='item-frame'>This slot is empty <br><br><br></div></div>"> <img class='armory-itemicon' src='http://wow.zamimg.com/images/wow/icons/large/inv_misc_questionmark.jpg' width='30' height='30' /> </a> <?php } ?> </div> </div> </div>
<? $args_title = array(); $args_title['left'] = img(geticon("comment"))." ".ucf(i18n("comments")); if ($object->hasRight("create") || $object->hasRight("comment")) $args_title['right'] = cmd(img(geticon("comment"))." ".ucf(i18n("post")), "exec=new&node_id=".$object->getNodeId()."&class_name=comment"); echo compiletpl("title/medium", $args_title, $object); $pagername = "comments_show"; $children = fetch("FETCH node WHERE link:node_top='".$object->getNodeId()."' AND link:type='sub' AND property:class_name='comment' NODESORTBY property:version SORTBY !property:created"); $children = getReadable($children); if (count($children) > 0) { include(gettpl("pager/start", $object)); for ($i = $start; $i < $end; $i++) echo compiletpl("scripts/show/line", array(), $children[$i]); include(gettpl("pager/end", $object)); } ?>
<tr> <td class="tipsblock"><ul id="tipslis"> <li>文 件 名:<?php echo $rs->filename; ?> </li> <li>原文件名:<?php echo $rs->ofilename; ?> </li> <li>文件路径:<?php echo $path; ?> </li> <li>文件类型:<?php echo geticon($rs->filename); ?> .<?php echo $rs->ext; ?> </li> <li>保存方式:<?php echo $rs->type == "remote" ? "远程" : "本地上传"; ?> </li> <li>保存时间:<?php echo get_date($rs->time, 'Y-m-d H:i:s'); ?> </li> </ul></td> </tr>
echo $rows['userid']; ?> " target="_blank"><?php if (empty($photo_s_bbs)) { echo "<img src=" . $Global['www_2domain'] . "/images/65x80" . $sex_bbs . ".gif title=暂无照片>"; } else { echo "<img src=" . $Global['up_2domain'] . "/photo/" . $photo_s_bbs . " title={$nickname}.'的照片'>"; } ?> </a></div></td> </tr> </table></td> <td valign="top"><table width="100%" height="20" border="0" cellpadding="0" cellspacing="0"> <tr> <td align="left" valign="bottom" style="color:#666666"><?php echo geticon($sex_bbs . $grade_bbs); ?> <a href="<?php echo $Global['home_2domain']; ?> /<?php echo $userid_bbs; ?> " target=_blank><?php if ($sex_bbs == 1) { echo "<font color=#0066CC>"; } else { echo "<font color=#FB2E7B>"; } echo $nickname_bbs; ?>
<? echo compiletpl("scripts/show/tabs", array("view"=>"settings"), $object); echo compiletpl("title/big", array("left"=>img(geticon($object->getIcon()))." ".$object->getName()), $object); ?> <form name="sSettings" id="sSettings" action="javascript:void(null);" onsubmit="Post('settings','sSettings');"> <input class="hidden" type="hidden" name="action" value="meta"/> <input class="hidden" type="hidden" name="node_id" value="<?php echo $object->getNodeId(); ?> "/> <div class="main"> <div class="container"> <fieldset> <legend> <?php echo ucf(i18n("display")); ?> </legend> <?php echo ucf(i18n("items per page")); ?> <select class="form" name="children_show_num_per_page"> <? $list = array(5 => 5, 10 => 10, 25 => "", 50 => 50, 100 => 100, "all" => "all"); foreach ($list as $key => $item) { $selected = ""; if ($key == $object->getMeta("children_show_num_per_page", 25)) $selected = "selected";
$itemlist = array(); $itemlist[] = array(ucf(i18n("name"))); if (!empty($path) && $path != "/") $itemlist[] = array(cmd(img(geticon("back"))." ".ucf(i18n("parent folder")), "exec=import&view=upload&node_id=".$object->getNodeId()."&path=".urlencode(GetParentPath($path)."/"))); foreach ($subitems as $subitem) { $checkbox = "<input checked class=\"input\" type=\"checkbox\" name=\"filenames[]\" value=\"$subitem\"/>"; if (is_dir("$abspath/upload/$path$subitem")) $itemlist[] = array("$checkbox ".cmd(img(geticon("file_folder"))." ".$subitem, "exec=import&view=upload&node_id=".$object->getNodeId()."&path=".urlencode("$path$subitem/"))); else { $type = getfiletype(pathinfo("$abspath/upload/$path$subitem", PATHINFO_EXTENSION)); $itemlist[] = array("$checkbox ".img(geticon($type))." ".$subitem); } } echo compiletpl("table", array("list"=>$itemlist, "endstring"=>"% ".i18n("rows"))); ?> <input class="submit" type="button" onclick="checkUncheckAll(this)" value="<?php echo ucf(i18n("invert selection")); ?> "/> <input class="submit" id="submitButton" type="submit" value="<?php echo ucf(i18n("import")); ?> "/> <? }
<? echo compiletpl("scripts/show/tabs", array("view"=>"import"), $object); echo compiletpl("title/big", array("left"=>img(geticon("menu"))." ".ucf(i18n("import")))); echo compiletpl("scripts/import/tabs", array("view"=>$args['view']), $object); global $abspath; switch ($args['view']) { case "custom": echo "<div id=\"zone_import_custom\">"; echo compiletplWithOutput("scripts/import/custom", $args, $object); echo "</div>"; break; case "upload": $chroot = "$abspath/upload"; $path = empty($args['path']) ? "/" : urldecode($args['path']); $fullpath = extractPath("$chroot$path"); $testpath = substr($fullpath, 0, strlen($chroot)); if ($testpath != $chroot) { $system->addAlert(ucf(i18n("this path is not allowed"))); $args['path'] = "/"; } else $args['path'] = empty($args['path']) ? "/" : urldecode($args['path']);
<br /> 版主ID号: </font> <input name="userid" type="text" class="input" id="userid" value="<?php echo $rows['userid']; ?> " size="3" maxlength="9"> [<a href="#" title=" ● 在左边的框中填入Ta的ID号,不是用户名也不是昵称哟。<br> ● 例如:你所设置的会员个人主页地址为 “ <?php echo $Global['home_2domain']; ?> /<font color=blue>1688</font> ”<br>那么这个人的ID号就是这个网址最后面的那个数字 “ <font color=blue>1688</font> ” 。<br> ● 删除此版主请填0。" class="uDF2C91">帮助</a>] <?php if (!empty($rows['nicknamesexgradephoto_s'])) { $tmpnickname = explode("|", $rows['nicknamesexgradephoto_s']); $tmpgrade = $tmpnickname[1] . $tmpnickname[2]; echo "<br> "; geticon($tmpgrade); echo "<a href=" . $Global['home_2domain'] . "/" . $rows['userid'] . " target=_blank>" . $tmpnickname[0] . "</a>"; } ?> </td> <td height="26" align="center"><textarea name="content" cols="30" rows="4" id="content"><?php echo stripslashes($rows['content']); ?> </textarea></td> <td align="center"><input name="px" type="text" class="input" id="px" value="<?php echo $rows['px']; ?> " size="3" maxlength="5" onkeypress="if (event.keyCode < 45 || event.keyCode > 57) event.returnValue = false;"></td> <td align="center"><input type="submit" name="Submit" value="修改" class=buttonx></td> <td align="center"><font color="#999999"><?php echo $rows['addtime'];
<div class="show_line"> <div class="show_line_logo"> <?php echo cmd(img(geticon($object->getIcon(), 64)), "exec=show&node_id=" . $object->getNodeId()); ?> </div> <div class="show_line_main_right"></div> <div class="show_line_main"> <div class="show_line_main_top"> <div class="show_line_main_top_inner"> <span class="show_line_main_top_inner_title"> <?php echo cmd($object->getName(), "exec=show&node_id=" . $object->getNodeId()); ?> </span> </div> </div> <div class="show_line_main_bottom"> <? echo $object->getVarShow("date")." ".$object->getVarShow("time"); echo "<br/>"; echo $object->getVarShow("description"); ?> </div> </div> </div> <div class="clear"></div>
<? $img = img(geticon($object->getIcon(), 128)); $name = $object->getName(); if ($args['disabled'] != true) { $name = cmd($name, "exec=show&node_id=".$object->getNodeId()); $img = cmd($img, "exec=show&node_id=".$object->getNodeId()); } ?> <div class="show_item"> <table cellspacing="0" style="width: 100%; height: 100%;"> <tr> <td> </td> </tr> <tr> <td> <?php echo $img; ?> </td> </tr> <tr> <td valign="bottom"> <div class="name_label"> <?php echo $name; ?> </div>
?> &type=other"><span>其它文件</span></a></li> </ul> </div> <table class="tb tb2 " width="100%"> <tr> <th></th> <th>文件名</th> <th>文件大小</th> <th>上传时间</th> </tr> <?php for ($i = 0; $i < $_count; $i++) { $rs[$i]['time'] = get_date($rs[$i]['time'], "Y-m-d H:i"); $rs[$i]['size'] = GetFileSize($rs[$i]['size']); $rs[$i]['icon'] = geticon($rs[$i]['filename']); ?> <tr> <td><?php echo $total - ($i + $firstcount); ?> </td> <td><?php echo $rs[$i]['icon']; ?> <?php echo $rs[$i]['filename']; ?> </td> <td><?php echo $rs[$i]['size'];
document.FORM.content.value = sContent; if(document.FORM.content.value.length<20 || document.FORM.content.value.length>30000){ alert('活动详细说明请控制在20~20000字节!'); oEditor = document.htmlletter; fContent.focus(); return false; } } </script> <table width="670" border="0" align="center" cellpadding="5" cellspacing="0"> <form action="i_group_club.php" method="post" name="FORM" onSubmit="return chkform()" onClick="clear2bx()"> <input type="hidden" name="content" value=""> <tr > <td width="128" align="right">发 起 人:</td> <td width="522" valign="top" ><?php geticon($cook_sex . $cook_grade); ?> <font face="Verdana, Arial, Helvetica, sans-serif"><?php echo $cook_nickname; ?> (<?php echo $cook_username; ?> )</font>,ID号:<?php echo $cook_userid; ?> </td> </tr> <tr > <td width="128" align="right">所属群组:</td> <td width="522" valign="top"><a href="<?php
{ $maxsize = getSetting("THUMBSIZE", 150); $angle = $object->getMeta("angle", ""); $thumbnail = getThumbnail($value_id, $maxsize, $maxsize, $angle); $_SESSION['murrix']['rightcache']['thumbnail'][] = $thumbnail->id; if ($thumbnail !== false) $data = $thumbnail->Show(true); } if (!empty($data)) $img = $data; else $img = img(geticon($type, 128)); $name = $object->getName(); if ($args['disabled'] != true) { $name = cmd($name, "exec=show&node_id=".$object->getNodeId()); $img = cmd($img, "exec=show&node_id=".$object->getNodeId()); } ?> <div class="show_item"> <table cellspacing="0" style="width: 100%; height: 100%;"> <tr> <td> </td>
<td width="53" height="28" align="center"><a href="<?php echo $Global['home_2domain']; ?> /<?php echo $senduserid; ?> " target="_blank"><?php if (empty($photo_s)) { echo "<img src=" . $Global['www_2domain'] . "/images/noxpic" . $sex . ".gif width=41 height=50 border=0>"; } else { echo "<img src=" . $Global['up_2domain'] . "/photo/" . $photo_s . " width=41 height=50 border=0>"; } ?> </a></td> <td width="163" ><?php geticon($sex . $grade); ?> <a href="<?php echo $Global['home_2domain']; ?> /<?php echo $userid; ?> " target=_blank><?php if ($sex == 1) { echo "<font color=#0066CC>"; } else { echo "<font color=#FB2E7B>"; } echo $nickname; ?>
</div> <div class="show_line_main_right"></div> <div class="show_line_main"> <div class="show_line_main_top"> <div class="show_line_main_top_inner"> <span class="show_line_main_top_inner_title"> <?php echo cmd($object->getName(), "exec=show&node_id=" . $object->getNodeId()); ?> </span> </div> </div> <div class="show_line_main_bottom"> <?php echo DownloadSize(@filesize($object->getVarValue("file"))); ?> <a href="?file=<?php echo $object->resolveVarName("file"); ?> &download=1"><?php echo img(geticon("download")) . " " . ucf(i18n("download")); ?> </a><br/> <?php echo $object->getVarShow("description"); ?> </div> </div> </div> <div class="clear"></div>
</div> <div class="menu_login"> <center> <div style="display: table-cell; text-align: left"> <? $home_id = $_SESSION['murrix']['user']->home_id; if ($home_id > 0) { $home = new mObject($home_id); echo cmd(img(geticon("home"))." ".ucf($home->getName()), "exec=show&node_id=$home_id")."<br/>"; } $groups = $_SESSION['murrix']['user']->getGroups(); foreach ($groups as $group_name) { $group = new mGroup(); $group->setByName($group_name); $home_id = $group->home_id; if ($home_id > 0) { $home = new mObject($home_id); echo cmd(img(geticon($home->getIcon()))." ".ucf($home->getName()), "exec=show&node_id=$home_id")."<br/>"; } } ?> </div> </center> </div>
<? echo compiletpl("scripts/show/tabs", array("view"=>"delete"), $object); echo compiletpl("title/big", array("left"=>img(geticon($object->getIcon()))." ".$object->getName()), $object); ?> <div class="main"> <center> <?php echo "<span style=\"font-weight: bold; font-size: 16px;\">" . ucf(i18n("are you sure you want to delete")) . " \"" . $object->getName() . "\"?</span>"; ?> <br/> <table class="invisible" width="50%"> <tr> <td align="center"> <?php echo cmd(img(geticon("yes", 32)) . "<br/>" . ucf(i18n("yes")), "exec=delete&action=delete&node_id=" . $object->getNodeId()); ?> </td> <td align="center"> <?php echo cmd(img(geticon("no", 32)) . "<br/>" . ucf(i18n("no")), "exec=show&node_id=" . $object->getNodeId()); ?> </td> </tr> </table> </center> </div>
" target="_blank"><?php if (empty($photo_s)) { echo "<img src=" . $Global['www_2domain'] . "/images/noxpic" . $sex . ".gif width=41 height=50 border=0>"; } else { echo "<img src=" . $Global['up_2domain'] . "/photo/" . $photo_s . " width=41 height=50 border=0>"; } ?> </a></td> <td width="541" colspan="2" align="left"><a href="<?php echo $Global['home_2domain']; ?> /<?php echo $rows['senduserid']; ?> " target=_blank><?php echo geticon($sex . $grade) . $sendnickname; ?> </a> 于<font color="#666666" style="font-family:Arial, Helvetica, sans-serif"> <?php echo $rows['addtime']; ?> </font> 浏览了我的资料。</td> </tr> <?php } ?> </form> </table> <table width="650" height="20" border="0" align="center" cellpadding="0" cellspacing="0" style="border-top:#ddd 1px solid;margin-top:10px;"> <tr> <td> </td> </tr>
if ($object->hasRight("create")) { $titel = img(geticon("file"))." ".ucf(i18n("new")); if ($args['view'] == "new") { $current = $titel; $class = "tab_selected"; } else $class = "tab"; $text .= cmd($titel, "exec=new&node_id=".$object->getNodeId(), array("onmouseup"=>"document.getElementById('adminpanel').style.display='none'", "class"=>$class)); $titel = img(geticon("menu"))." ".ucf(i18n("import")); if ($args['view'] == "import") { $current = $titel; $class = "tab_selected"; } else $class = "tab"; $text .= cmd($titel, "exec=import&node_id=".$object->getNodeId(), array("onmouseup"=>"document.getElementById('adminpanel').style.display='none'", "class"=>$class)); } if (!empty($text)) { ?>
<div class="bar"> <div class="search"> <form id="smallSearch" action="javascript:void(null);" onsubmit="Post('search','smallSearch')"> <div> <input class="input" id="query" name="query" type="text" onfocus="if(this.value=='<?php echo ucf(i18n("enter search here")); ?> !')this.value=''" onblur="if(this.value=='')this.value='<?php echo ucf(i18n("enter search here")); ?> !'" value="<?php echo ucf(i18n("enter search here")); ?> !"/> <input class="search" type="image" name="submit" src="<?php echo geticon("search"); ?> " alt="<?php echo ucf(i18n("search")); ?> "/> </div> </form> </div> <div class="address"> <?php echo $_SESSION['murrix']['system']->createZone("zone_addressbar"); ?> </div>