<script type="text/javascript" src="<?php echo GLOBAL_ADMIN_JS_PATH; ?>jquery/ui/minified/jquery.ui.mouse.min.js"></script>
<script type="text/javascript" src="<?php echo GLOBAL_ADMIN_JS_PATH; ?>jquery/ui/minified/jquery.ui.draggable.min.js"></script>
<script type="text/javascript" src="<?php echo GLOBAL_ADMIN_JS_PATH; ?>jquery/ui/minified/jquery.ui.resizable.min.js"></script>
<script type="text/javascript" src="<?php echo GLOBAL_ADMIN_JS_PATH; ?>jquery/ui/minified/jquery.ui.dialog.min.js"></script>
<link type="text/css" href="<?php echo GLOBAL_ADMIN_JS_PATH; ?>jquery/themes/base/jquery.ui.datepicker.css" rel="stylesheet" />
<script type="text/javascript" src="<?php echo GLOBAL_ADMIN_JS_PATH; ?>jquery/ui/jquery.ui.datepicker.js"></script>
<link type="text/css" href="<?php echo GLOBAL_ADMIN_JS_PATH; ?>jquery/themes/base/jquery.ui.datepicker.css" rel="stylesheet" />
<script type="text/javascript" src="<?php echo GLOBAL_ADMIN_JS_PATH; ?>highslide/highslide-with-gallery.js"></script>

<script type="text/javascript" src="<?php echo GLOBAL_ADMIN_JS_PATH; ?>powerpanel_alert.js"></script>
<script type="text/javascript">
    hs.graphicsDir = '<?php echo GLOBAL_ADMIN_JS_PATH; ?>highslide/graphics/';
    hs.outlineType = 'rounded-white';
    hs.showCredits = false;
    hs.align = 'center';
    hs.wrapperClassName = 'draggable-header';
    
    
</script>
<script type="text/javascript">
    
    function limitText(limitField, limitNum) {
        if (limitField.value.length > limitNum) {
            limitField.value = limitField.value.substring(0, limitNum);
        }
    }
    
   
    
    function checkdatediv()
    {
        if(document.getElementById('displaydesc').style.display =='none' || (document.getElementById('var_history').value= ""))
        {
            document.getElementById('displaydesc').style.display='';
        }
        else
        {
            document.getElementById('displaydesc').style.display='none';
        }
    }
    
    
    function checkdatediv1()
    {
        if(document.getElementById('displaydesc1').style.display =='none' || (document.getElementById('var_study').value= ""))
        {
            document.getElementById('displaydesc1').style.display='';
        }
        else
        {
            document.getElementById('displaydesc1').style.display='none';
        }
    }
    
    function copytext()
    {
        var abcd=CKEDITOR.instances.var_history.getData();
        
       var def=abcd.replace(/<a(\s[^>]*)?>.*?<\/a>/ig,"")
       var abc = def.replace(/^(\s*)|(\s*)$/g, '').replace(/\s+/g, ' ');
        var maintext=trim(removeHTMLTags(abc));
//        var maintext=trim(removeHTMLTags(CKEDITOR.instances.text_fulltext.getData()));
      
        if(trim(document.getElementById('var_metatitle').value)=="")
        {
            document.getElementById('var_metatitle').value=trim(document.getElementById('var_name').value).substr(0, 64);
        }
        CountLeft2(document.getElementById('var_metatitle'),document.frmcontact.metatitle_left,200);
        if(trim(document.getElementById('var_metakeyword').value)=="")
        {
            document.getElementById('var_metakeyword').value=maintext.substr(0, 180);
        }
        CountLeft2(document.getElementById('var_metakeyword'),document.frmcontact.metakeyword_left,400);
        if(trim(document.getElementById('var_metadescription').value)=="")
        {
            document.getElementById('var_metadescription').value=maintext.substr(0, 180);
        }
        CountLeft2(document.getElementById('var_metadescription'),document.frmcontact.metadescription_left,400);
    }
    function CountLeft2(field, count, max) 
    {
        // if the length of the string in the input field is greater than the max value, trim it
       
        if (field.value.length > max)
        {
            field.value = field.value.substring(0, max);
        }
        else
        {
            count.value=max - field.value.length;
        }
    }
    

    
    
    $(document).ready(function() {
<?php if ($row['var_image'] == '') { ?>
            document.getElementById('hidvar_image').value=''; 
<?php } else { ?>
            document.getElementById('hidvar_image').value='<?= $row['var_image'] ?>'; 
<?php } ?>
    });
    function validate()
    {
        
        
        var alias=document.getElementById('var_alias').value;
        if(trim(document.getElementById('var_name').value) == "")
        {
            alert('please enter name');
            document.getElementById('var_name').focus();
            return false;
        }
        

        if(trim(document.getElementById('var_alias').value) != "")
        {
            var str=document.getElementById('var_alias').value;
            var RE=/ /i;
            if (str.match(RE)==' ')
            {
                alert("Alias is not Valid. Please remove space.");
                return false;
            }
        }
        
        if(trim(document.getElementById('var_nationality').value) == "")
        {
            alert('please enter your nationality');
            document.getElementById('var_nationality').focus();
            return false;
        }
        
//        if(trim(document.getElementById('var_description').value) == "")
//        {
//            alert('please enter your Short Description in');
//            document.getElementById('var_description').focus();
//            return false;
//        }
        
        if(trim(document.getElementById('var_specialize').value) == "")
        {
            alert('please enter your specialize in');
            document.getElementById('var_specialize').focus();
            return false;
        }
        
        if(trim(document.getElementById('var_expertise').value) == "")
        {
            alert('please enter your expertise in');
            document.getElementById('var_expertise').focus();
            return false;
        }
        
        if(trim(document.getElementById('var_email').value) != '' && !checkemail(document.getElementById('var_email').value))
        {
            alert("Please enter Valid  Email ID.");
            document.getElementById('var_email').focus();
            return false;
        }
        
        if(trim(document.getElementById('var_experience').value) == "")
        {
            alert('please enter your experience');
            document.getElementById('var_experience').focus();
            return false;
        }
                
        if(document.getElementById('var_image').value != '' && !LimitAttach(document.getElementById('var_image').value,'var_image'))
        {   
            alert('Only *.jpg, *.jpeg, *.png, *.gif Image Formats are supported.');
            document.getElementById('var_image').focus();
            return false;
        }
        
       if(chkObject('int_displayorder') && document.getElementById('int_displayorder').value == "")
        {
            alert("Please enter display order.");
            document.getElementById("asignbannerdisplay").style.display="";
            document.getElementById('int_displayorder').focus();
            return false;
        }

        if(document.getElementById('int_displayorder').value == 0)
        {
            alert("Please enter valid display order.");
            document.getElementById("asignbannerdisplay").style.display="";
            document.getElementById('int_displayorder').focus();
            return false;
        }
        if(document.getElementById('int_displayorder').value < "0")
        {
            alert("Please enter proper display order.");
            expandcollapsepanel('asignbannerdisplay');
            document.getElementById('int_displayorder').focus();
            return false;
        }
        
        
        if(trim(document.getElementById('var_alias').value)== "")
        {
            makeLowercase();
        }
        
       var text1=document.getElementById('var_alias').value;
        var len1=text1.length;
        if(len1 == 1)
        {
            alert("Alias should be greater then  one character.");
            document.getElementById('var_alias').focus();
            return false;
        }
        if(!checkingAlias('var_alias','<?= base64_encode("ourteam") ?>','<?= base64_encode($row['int_glcode']) ?>','<?= base64_encode('int_glcode') ?>',"pages"))
        {
            return false;
        }
       
        copytext();
        document.getElementById('h_save').value = 'T';
        return true;
    }
    
    function auto_alias(){
        if(document.getElementById('var_name').value != '' && document.getElementById('var_alias').value == '')
        {
            makeLowercase();
        }
    }

    
    function chkObject (theVal)
    {
        if (document.getElementById(theVal) != null)
        {
            return true;
        }
        else
        {
            return false;
        }
    }
    
    function makeLowercase()
    {
        var str= document.getElementById('var_name').value.toLowerCase();

        //alert(str);
        var temp = new String(str);
        temp =  temp.replace(/[^a-zA-Z0-9.]+/g,'');

        var strlength = temp.length;
        for(i=0; i < strlength; i++)
        {
            var str1 = temp.split(' ').join('-');
            var alias=str1.split('.').join('');
        }
        document.getElementById('var_alias').value = alias;
    }
    function LimitAttach(file,id)
    {
        allowSubmit = false;
        if (!file) return false;

        var extArray = new Array(".jpg",".jpeg",".png",".bmp",".gif");

        while (file.indexOf("\\") != -1)
            file = file.slice(file.indexOf("\\") + 1);
        ext = file.slice(file.indexOf(".")).toLowerCase();
        for (var i = 0; i < extArray.length; i++) {
            if (extArray[i] == ext) { allowSubmit = true; break; }
        }
        if (allowSubmit) return true;
        else
            return false;
    }
</script>
<script type="text/javascript">

    $(function() {

        $('#dt_efectdate').datepicker({
            changeMonth: true,
            changeYear: true,
            minDate:0,
            dateFormat:'<?php echo $Default_date; ?>'
        });

    });
   
   
    function checkemail(str)
    {
        var testresults;
        var filter=/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;

        if (filter.test(str))
            testresults=true
        else
            testresults=false

        return (testresults)
    }
    
    function fun_del_image(id,file,type)
    {
        var conf=confirm("The selected image will be deleted. Press OK to confirm.");
        if(conf==true)
        {

            document.getElementById('divdelbro1').innerHTML='';
            document.getElementById('hidvar_image').value='';

            alert('Image is deleted successfully.');
        }
    }
</script>
<div id="popupContact" class="dragme"  style="z-index:9999"></div>
<div id="backgroundPopup" style="z-index: 101;"></div>
<?php if ($_REQUEST['action'] != '') $action = ucwords($_REQUEST['action']); ?>
<?php if ($_REQUEST['presentercategory'] != '') { ?>
    <div class="breadcrumbs"><a href="index.php">Home </a>&nbsp;>&nbsp; <a href="index.php?module=presentercategory">Manage Our Team Designation </a>&nbsp;>&nbsp;<a href="index.php?module=ourteam">Manage Ourteam</a>&nbsp; >&nbsp; <span class="current"><?= $action ?>
            Team Member</span>  </div>
    <span style="float:right;margin-right: 15px; "><a href="index.php?module=presentercategory"><img src="html/images/back-button-blue.gif"></a></span>
<? } else { ?>
    <div class="breadcrumbs"><a href="index.php">Home </a>&nbsp;>&nbsp; <a href="index.php?module=ourteam">Manage Our Team</a>&nbsp; >&nbsp; <span class="current"><?= $action ?>
            Team Member</span>  </div>
<? } ?>
<div class="add-new-user-title">
    <h2><img alt="add-new-listing" src="<?= GLOBAL_ADMIN_IMAGES_PATH ?>/add-new-user-icon.png"><?php echo $action ?> Team Member<?php
if ($_REQUEST['action'] == 'edit') {
    echo '-' . ' ' . $row['var_name'];
}
?></h2>
</div>
<?= $messagebox ?>
<form  name="frmcontact"  id="frmcontact" action="<?php echo $frmaction ?>" method="POST" onSubmit="return validate();" enctype="multipart/form-data" >
    <input type="hidden" name="h_save" id="h_save" value="T">
    <input type="hidden" name="hidvar_image" id="hidvar_image" value="<?php echo $row['var_image'] ?>">
    <input name="hidvar_pdffile" type="hidden" id="hidvar_pdffile" value="<?= $row['var_pdffile']; ?>" />
    <input type="hidden" name="fk_modules" id="fk_modules" value="<?php echo $fk_modules ?>">
    <input type="hidden" name="old_displayorder" id="old_displayorder" value="<?= $row['int_displayorder'] ?>">
    <?php
    if ($row['int_displayorder'] != '') {
        $int_disporder = $row['int_displayorder'];
    } else {
        $int_disporder = '1';
    }
    ?>

    <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">Our Team 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="160" align="left" valign="middle" class="add-new-user-text"> Name: <span style="color:#1979AC;">(required)</span></td>
                        <td width="780" align="left" valign="top">
                            <input name="var_name" style="width:350px;" type="text"  class="textarea1" id="var_name" value="<?= htmlspecialchars_decode($row['var_name']); ?>" maxlength="100" /></td>
                    </tr>


                    <?php
                    if ($configObj->glSessionObj->value('chr_usertype') == 'N' || DISPLAY_ALIAS == 'Y') {
                        $aliasarray = explode('$$', $row['var_alias']);

                        if ($_REQUEST['mode'] == 'copy') {
                            $alias = '';
                        } else {
                            $alias = $aliasarray[0];
                        }
                        ?>
                        <tr>
                            <td width="160" align="left" valign="top" class="add-new-user-text"> Alias: <span>(auto)</span> </td>
                            <td width="780" align="left" valign="top">
                                <input name="var_alias" type="text" style="width:350px;float:left;" class="add-new-user-textarea" id="var_alias" value="<?= $alias; ?>"   onblur="auto_alias();"  maxlength="500"   />
                                <div class="fl contact-comment-new position-relative mgl5 mgt5">
                                    <span class="help-icon1"></span>
                                    <div class="contact-hint fl" style="width: 390px; height: 105px;"><?php echo GLOBAL_ALIAS_NOTE; ?></div>
                                </div>
                                <a herf="javascript:;" style="float: left; margin: 10px 0px 0px 12px;cursor: pointer;" onclick="checkingAlias('var_alias','<?= base64_encode("ourteam") ?>','<?= base64_encode($_REQUEST['eid']) ?>','<?= base64_encode('int_glcode') ?>','pages','<?= $_REQUEST['preview'] ?>');">Check Alias</a>
                                <br>
                                <div align="center" style="margin-top:-5px; margin-bottom:5px;"  id="aliasmsg" class=""></div>
                            </td>
                            </td>
                        </tr>
                    <?php } else {
                        ?>
                        <input  name="var_alias" type="hidden" class="add-new-user-textarea" id="var_alias" value="<?= $row['var_alias']; ?>" maxlength="500"  />

                    <?php } ?>
                    <tr>
                        <td width="160" align="left" valign="middle" class="add-new-user-text"> Nationality: <span style="color:#1979AC;">(required)</span></td>
                        <td width="780" align="left" valign="top">
                            <input name="var_nationality" style="width:350px;" type="text"  class="textarea1" id="var_nationality" value="<?= htmlspecialchars_decode($row['var_nationality']); ?>" maxlength="100" /></td>
                    </tr>
                    
<!--                    <tr>
                        <td width="160" align="left" valign="middle" class="add-new-user-text"> Short Description: <span style="color:#1979AC;">(required)</span></td>
                        <td width="780" align="left" valign="top">
                            <textarea onkeyup="CountLeft(this.form.var_description,this.form.description_left,500);" onkeydown="CountLeft(this.form.var_description,this.form.description_left,500);" style="width:350px;" maxlength="162" class="textarea2" name="var_description" id="var_description"><?=$row["var_description"]?></textarea>
                    </tr>-->
                    
                    <tr>
                        <td width="160" align="left" valign="middle" class="add-new-user-text"> Specialize in: <span style="color:#1979AC;">(required)</span></td>
                        <td width="780" align="left" valign="top">
                            <textarea onkeyup="CountLeft(this.form.var_specialize,this.form.description_left,500);" onkeydown="CountLeft(this.form.var_specialize,this.form.description_left,500);" style="width:350px;" maxlength="500" class="textarea2" name="var_specialize" id="var_specialize"><?=$row["var_specialize"]?></textarea>
                    </tr>

                    <tr>
                        <td width="160" align="left" valign="middle" class="add-new-user-text"> Expertise in: <span style="color:#1979AC;">(required)</span></td>
                        <td width="780" align="left" valign="top">
                            <textarea onkeyup="CountLeft(this.form.var_expertise,this.form.description_left,500);" onkeydown="CountLeft(this.form.var_expertise,this.form.description_left,500);" style="width:350px;" maxlength="500" class="textarea2" name="var_expertise" id="var_expertise"><?=$row["var_expertise"]?></textarea>
                    </tr>                    
                    
                     <tr>
                        <td width="160" align="left" valign="middle" class="add-new-user-text"> Phone Number:</td>
                        <td width="780" align="left" valign="top">
                            <input name="var_phone" style="width:350px;" type="text"  class="textarea1" id="var_phone" value="<?= htmlspecialchars_decode($row['var_phone']); ?>" maxlength="100" onkeypress="return KeycheckOnlyPhonenumber(event);" /></td>
                    </tr>
                    
                    <tr>
                        <td width="160" align="left" valign="middle" class="add-new-user-text"> Email Id:</td>
                        <td width="780" align="left" valign="top">
                            <input name="var_email" style="width:350px;" type="text"  class="textarea1" id="var_email" value="<?= htmlspecialchars_decode($row['var_email']); ?>" maxlength="100" /></td>
                    </tr>
                    
                    <tr>
                        <td  width="160" align="left" valign="top" class="add-new-user-text">Years of Experience: <span style="color:#1979AC;">(required)</span></td>
                        <td  width="780" align="left" valign="top" width="600px;">

                            <input name="var_experience" style="width:350px;"  type="text" class="textarea1" id="var_experience"  value="<?= htmlspecialchars_decode($row['var_experience']); ?>"/>
                        </td>
                    </tr>
                    <tr>
                        <td width="200" align="left" valign="top" class="add-new-user-text">Image: </td>
                        <td width="856" align="left" valign="top">
                            <table>
                                <tr>
                                    <td>
                                        <input name="var_image" id="var_image" type="file" />
                                    </td>
                                    <td style="width:350px;">

                                        <?php
                                        $imagename = $row['var_image'];
                                        $imagepath = '../upimages/ourteam/images/thumb_';
                                        $image = $imagepath . "" . $imagename;
//                                        echo $image;
                                        if ($imagename != "") {
                                            ?>
                                            <div  id="divdelbro1" style="float:left;padding-left:10px;margin-top: 0px;">
                                                <b>
                                                    <a onClick="return hs.expand(this);" href="<?php echo $image; ?>">
                                                        <img src="<?php echo $image; ?>"  width="20" height="15" >
                                                    </a>
                                                </b>
                                                <a onclick="fun_del_image(19,'1354044569Desert.jpg',1);" href="javascript:;">Delete</a>
                                            </div>

                                        <?php } ?>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td>&nbsp;</td>
                        <td><span style="vertical-align: top;">(Recommended Size 133px&nbsp; X &nbsp;200px :Only *.jpg, *.jpeg, *.png, *.gif Image Formats are supported.)</span></td>
                    </tr>
                     
                    <tr>
                        <td align="left" valign="top" class="add-new-user-text"  width="230">History: </td>
                        <td width="824" align="left" valign="top">
                            <input
                            <?php
                            if ($row['var_history'] != '') {
                                echo 'checked';
                            ?>
                                
                          <?php
                            } else {
                                echo "";
                            }
                            ?>
                                type="checkbox"
                                name="var_desc"
                                onclick="javascript : checkdatediv()"
                                id="var_desc"
                                value="Y"

                                />

                        </td>
                        
                    </tr>
                    <?php
                        if($row['var_history'] != '')
                        {
                            $style='style="display:;"';
                        }
                        else
                        {
                            $style='style="display:none;"';
                        }
                    ?>
                    <tr id="displaydesc" <?=$style ?> >
                       
                        
                        <td align="left" valign="top"colspan="4" class="add-new-user-text">
                             
                           <?php echo $configObj->glLibraryObj->load_ckeditor('var_history', $row['var_history']); ?>
                        </td>
                    </tr>
                    
                     <tr>
                        <td align="left" valign="top" class="add-new-user-text" width="230" >Trained & Studied at:</td>
                        <td width="824" align="left" valign="top">
                            <input
                            <?php
                            if ($row['var_study'] != '') {
                                echo 'checked';
                            ?>
                                
                          <?php
                            } else {
                                echo "";
                            }
                            ?>
                                type="checkbox"
                                name="var_desc1"
                                onclick="javascript : checkdatediv1()"
                                id="var_desc1"
                                value="Y"

                                />

                        </td>
                    </tr>
                    <?php
                        if($row['var_study'] != '')
                        {
                            $style1='style="display:;"';
                        }
                        else
                        {
                            $style1='style="display:none;"';
                        }
                    ?>
                    <tr <?=$style1?> id="displaydesc1"> 
                        <td align="left" valign="top"colspan="4" class="add-new-user-text">
                            <?php echo $configObj->glLibraryObj->load_ckeditor('var_study', $row['var_study']); ?>
                        </td>
                    </tr>  
                    <tr>
                        <td width="160" align="left" valign="middle" class="add-new-user-text"> Been in Cayman since:</td>
                        <td width="780" align="left" valign="top">
                            <input name="var_cayman_since" style="width:350px;" type="text"  class="textarea1" id="var_cayman_since" value="<?= htmlspecialchars_decode($row['var_cayman_since']); ?>" maxlength="300" /></td>
                    </tr>
                    
                    <tr>
                        <td width="160" align="left" valign="middle" class="add-new-user-text"> Been at Eclipze since:</td>
                        <td width="780" align="left" valign="top">
                            <input name="var_eclipze_since" style="width:350px;" type="text"  class="textarea1" id="var_eclipze_since" value="<?= htmlspecialchars_decode($row['var_eclipze_since']); ?>" maxlength="100" /></td>
                    </tr>
                    
                    <tr>
                        <td width="160" align="left" valign="middle" class="add-new-user-text"> Objective:</td>
                        <td width="780" align="left" valign="top">
                            <textarea onkeyup="CountLeft(this.form.var_objective,this.form.description_left,500);" onkeydown="CountLeft(this.form.var_objective,this.form.description_left,500);" style="width:350px;" maxlength="500" class="textarea2" name="var_objective" id="var_objective"><?=$row["var_objective"]?></textarea>
                    </tr>
                    
                </table>
            </div>
        </div>


        <div class="clear"></div>
        <?php if ($configObj->glSessionObj->value('admin_id') == '1' || (DISPLAY_SEO == 'Y')) { ?>
            <div class="grid-list-subtitle-bg" style="margin-top:10px; cursor:pointer" onClick="javascript:expandcollapsepanel('asignbannerseo');" >
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td align="left" valign="top" class="grid-td-left">SEO Information</td>
                    </tr>
                </table>
            </div>
            <div class="information-white-bg" id="asignbannerseo" style="display:none;">
                <div class="clear"></div>
                <div class="grid-list-inner-table-text">
                    <?php echo $configObj->glLibraryObj->seo_textdetails($row['var_metatitle'], $row['var_metakeyword'], $row['var_metadescription']); ?>
                </div>
            </div>
            <div class="clear"></div>
        <?php } else { ?>
            <input name="var_metatitle" type="hidden" id="var_metatitle" value="<?= $row['var_metatitle']; ?>" />
            <input name="var_metakeyword" type="hidden" id="var_metakeyword" value="<?= $row['var_metakeyword']; ?>" />
            <input type="hidden" id="var_metadescription" name="var_metadescription" value="<?= $row['var_metadescription']; ?>" />
        <?php } ?>
        <div class="clear"></div>
        <div class="grid-list-subtitle-bg" style="margin-top:10px; cursor:pointer" onClick="javascript:expandcollapsepanel('asignbannerdisplay');" >
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td align="left" valign="top" class="grid-td-left">Display Information</td>
                </tr>
            </table>
        </div>
        <div class="information-white-bg" id="asignbannerdisplay" >
            <div class="clear"></div>
            <div class="grid-list-inner-table-text">
                <table width="100%" border="0" cellspacing="3" cellpadding="3">
                    <tr>
                        <td width="20%" align="left" valign="top" class="add-new-user-text">Display Order: <span>(required)</span></td>
                        <td colspan="2" align="left" valign="top">
                            <input style="float :left; text-align: center; width: 77px;" name="int_displayorder" type="text" class="date-textarea" id="int_displayorder" value="<?= $int_disporder; ?>" maxlength="3" onkeypress="return KeycheckOnlyNumeric(event);" />

                            <div class=" contact-comment-new position-relative mgt5 mgl10 fl" >
                                <span class="help-icon1"></span>
                                <div class="contact-hint fl" style="width: 700px; height: 30px;"><?php echo "ourteam are usually ordered alphabetically, but you may choose to put a number in the display order fields to change the ourteam listing priority." ?></div>
                            </div> 
                        </td>
                    </tr>

                    <tr>
                        <td height="20%" width="15%" align="left" valign="top" class="add-new-user-text">Publish: <span>(required)</span></td>
                        <td width="106" height="30" align="left" valign="middle" class="add-new-user-text2"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td width="48%">
                                        <?php if ($row['chr_publish'] == 'Y') { ?>
                                            <input type="radio" name="chr_publish" id="chr_publishY" value="Y" checked="checked" class="form-rediobutton " />
                                        <?php } else { ?>
                                            <input type="radio" name="chr_publish" id="chr_publishY" value="Y"  checked="checked" class="form-rediobutton "/><?php } ?>
                                        <a href="javascript:" onClick="if(document.getElementById('chr_publishY').checked!=true) document.getElementById('chr_publishY').checked=true;" style="text-decoration:none;">
                                            Yes</a></td>
                                    <td width="52%"> <?php if ($row['chr_publish'] == 'N') { ?>
                                            <input name="chr_publish" type="radio" class="form-rediobutton " checked="checked" id="chr_publishN" value="N"    />
                                        <?php } else { ?>
                                            <input name="chr_publish" type="radio" class="form-rediobutton " id="chr_publishN" value="N"  /><?php } ?>
                                        <a href="javascript:" onClick="if(document.getElementById('chr_publishN').checked!=true) document.getElementById('chr_publishN').checked=true;" style="text-decoration:none;">
                                            No</a>
                                    </td>
                                </tr>
                            </table></td>
                        <td width="864" align="left" valign="middle" class="add-new-user-text2"><img width="16" height="16" src="<?= GLOBAL_ADMIN_IMAGES_PATH ?>help.png" onmouseover="showDiv(event,'dvhlpvarwebsite')" onmouseout="hidediv('dvhlpvarwebsite');" alt="">
                            <div id="dvhlpvarwebsite" style=" z-index:99999; position: absolute;background-color: #d5ecfa;width: 400px;height:35px;padding: 10px;color:#0b336a;border: #95d0f2 2px solid;display: none;font-family:Tahoma, Arial, Verdana;font-size:13px;font-weight:bold;">Note : Please select 'Yes' if you want to display / activate this record. Otherwise please select 'NO'. </div></td>
                    </tr>
                </table>
            </div>
        </div>


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