<?php } ?> function orderByName(x){ var form = document.changeforum; if (x == 'name') { form.forum_order_by.value = form.forum_last_name.value + ', ' + form.forum_name.value; } else { form.forum_order_by.value = form.forum_project.value; } } </script> <br /> <?php if (function_exists('styleRenderBoxTop')) { echo styleRenderBoxTop(); } ?> <form name="changeforum" action="?m=forums&forum_id=<?php echo $forum_id; ?> " method="post" accept-charset="utf-8"> <input type="hidden" name="dosql" value="do_post_aed" /> <input type="hidden" name="del" value="0" /> <input type="hidden" name="message_forum" value="<?php echo $forum_id; ?> " /> <input type="hidden" name="message_parent" value="<?php echo $message_parent;
/** * The drawing function */ public function show() { global $AppUI, $a, $m, $tab, $infotab; $this->loadExtraCrumbs($m, $a); $uistyle = $AppUI->getPref('UISTYLE') ? $AppUI->getPref('UISTYLE') : $w2Pconfig['host_style']; if (!$uistyle) { $uistyle = 'web2project'; } $s = '<table width="100%" border="0" cellpadding="1" cellspacing="1"><tr>'; if ($this->icon) { $s .= '<td width="42">'; $s .= w2PshowImage($this->icon, '', '', '', '', $this->module); $s .= '</td>'; } $s .= '<td align="left" width="100%" nowrap="nowrap"><h1>' . $AppUI->_($this->title) . '</h1></td>'; foreach ($this->cells1 as $c) { $s .= $c[2] ? $c[2] : ''; $s .= '<td align="right" nowrap="nowrap"' . ($c[0] ? ' ' . $c[0] : '') . '>'; $s .= $c[1] ? $c[1] : ' '; $s .= '</td>'; $s .= $c[3] ? $c[3] : ''; } $s .= '</tr></table>'; if (count($this->crumbs) || count($this->cells2)) { $crumbs = array(); $class = 'crumb'; foreach ($this->crumbs as $k => $v) { $t = $v[1] ? '<img src="' . w2PfindImage($v[1], $this->module) . '" border="" alt="" /> ' : ''; $t .= $AppUI->_($v[0]); $crumbs[] = '<li><a href="' . $k . '"><span>' . $t . '</span></a></li>'; } $s .= '<table border="0" cellpadding="0" cellspacing="0" width="100%"><tr>'; $s .= '<td height="20" nowrap="nowrap"><div class="' . $class . '"><ul>'; $s .= implode('', $crumbs); $s .= '</ul></div></td>'; foreach ($this->cells2 as $c) { $s .= $c[2] ? $c[2] : ''; $s .= '<td align="right" nowrap="nowrap" ' . ($c[0] ? " {$c['0']}" : '') . '>'; $s .= $c[1] ? $c[1] : ' '; $s .= '</td>'; $s .= $c[3] ? $c[3] : ''; } $s .= '</tr></table>'; } echo '' . $s; if (($a != 'index' || $m == 'system' || $m == 'calendar' || $m == 'smartsearch') && !$AppUI->boxTopRendered && function_exists('styleRenderBoxTop')) { echo styleRenderBoxTop(); $AppUI->boxTopRendered = true; } }