Server IP : 184.154.167.98 / Your IP : 3.137.166.174 Web Server : Apache System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : puertode ( 1767) PHP Version : 8.2.26 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/puertode/public_html/mesa/include/staff/ |
Upload File : |
<?php if ($ticket->isChild()) $parent = Ticket::lookup($ticket->getPid()); else $children = Ticket::getChildTickets($ticket->getId()); if (count($children ?: array()) != 0 || $ticket->isChild()) { ?> <form action="#tickets/<?php echo $ticket->getId(); ?>/relations" method="POST" name='relations' id="relations" style="padding-top:7px;"> <?php csrf_token(); ?> <table class="list" border="0" cellspacing="1" cellpadding="2" width="920"> <thead> <tr> <th width="8px"> </th> <th width="70"><?php echo __('Number'); ?></th> <th width="100"><?php echo __('Subject'); ?></th> <th width="100"><?php echo __('Department'); ?></th> <th width="300"><?php echo __('Assignee'); ?></th> <th width="200"><?php echo __('Create Date'); ?></th> </tr> </thead> <tbody class="tasks"> <?php if ($children) { foreach($children as $child) { $child = Ticket::lookup($child[0]); echo $child->getRelatedTickets(); } } elseif ($parent) echo $parent->getRelatedTickets(); ?> </tbody> </table> </form> <?php }