<?php if ($_REQUEST['custom'] == 'N') {
    $name = $row['chr_pro_modulename'];
} else {
    $name = $row['var_pagename'];
} ?>

<?php if ($_REQUEST['action'] != '') $action = ucwords($_REQUEST['action']); ?>
<div class="breadcrumbs"><a href="index.php">Home </a>&nbsp;>&nbsp; <a href="index.php?module=modcontrol">Manage Assign Module Action</a>&nbsp; >&nbsp; <span class="current"><?= $action ?> Module Action</span> <?php if ($action == 'Edit') { ?>&nbsp;>&nbsp; <span class="current"> <?= $name; ?> </span> <? } ?>  </div>
<div id="dialog-modal" title="blog"></div>
<div class="add-new-user-title">
    <h2><img alt="add-new-listing" src="<?= GLOBAL_ADMIN_IMAGES_PATH ?>/add-new-user-icon.png"><?= $action ?> Module Action <?php if ($action == 'Edit') {
    echo ' - ' . $name;
} ?></h2>
</div>

<?= $messagebox ?>
<form  name="frmcontact"  id="frmcontact" action="<?= $frmaction ?>" method="post" enctype="multipart/form-data" >

    <input type="hidden" name="old_displayorder" id="old_displayorder" value="<?= $row['int_displayorder'] ?>">
    <input type="hidden" name="h_save" id="h_save" value="T">
    <input type="hidden" name="chr_custom" id="chr_custom" value="<?= $_REQUEST['custom'] ?>">
    <input type="hidden" name="fk_modules" id="fk_modules" value="<?= $_REQUEST['eid'] ?>">

    <div class="web-booking-main">
        <div class="grid-list-subtitle-bg" style="margin-top:10px; cursor:pointer" onClick="javascript:expandcollapsepanel('asignbanner');" >
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td align="left" valign="top" class="grid-td-left">Module Action Information</td>
                </tr>
            </table>
        </div>
        <div class="information-white-bg" id="asignbanner" >
            <div class="clear"></div>
            <div class="grid-list-inner-table-text">
                <table width="100%" border="0" cellspacing="3" cellpadding="3">
                    <tr>
                        <td width="156" align="left" valign="top" class="add-new-user-text"> Title : <span>(required)</span> </td>
                        <td width="724" align="left" colspan="2" valign="top">
                            <table width="724" >
                                <tr>
                                    <td  width="377">

                                        <input name="var_title" type="text" style="width:375px;" readonly class="add-new-user-textarea" id="var_title" value="<?= $name; ?>" maxlength="200" /></td>
                                    <td  align="left" valign="middle" class="add-new-user"></td>
                                </tr>
                            </table>
                        </td>
                    </tr>

                    <tr>
                        <td width="156" align="left" valign="top" class="add-new-user-text"> Activity : <span>(required)</span> </td>
                        <td width="724" align="left" colspan="2" valign="top">
                            <table>
                                <tr>
                                    <td style="width: 382px;">
<?php echo $activityType; ?></td>
                                    <td width="100" align="left" valign="top"></td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </div>
        </div>

        <div class="clear"></div>
<?= $BottomSubmitButtons ?>
        <div class="clear"></div><br><br>
        <div class="add-new-user-button"></div>
    </div>
</form>