HEX
Server: nginx/1.27.1
System: Linux in-4 5.15.0-131-generic #141-Ubuntu SMP Fri Jan 10 21:18:28 UTC 2025 x86_64
User: ilikadirect (1186)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source
Upload Files
File: /storage/v6964/avoxlive/public_html/application/views/backend/exhibitor/chat_request.php


<div class="row">
    <div class="col-sm-12">
        <div class="panel panel-info" style="margin-top: -10px;">
            <div class="panel-heading">
                <!-- <span style="font-size:18px; margin-left:10px; position:relative; top:13px;"><strong><span  id="user_details"><span class="glyphicon glyphicon-user"></span></span> <?php echo $visitor['name'];?>
        </strong></span> -->
        <span>Update chat request</span>
    </div>
            <div class="panel-wrapper collapse in" aria-expanded="true">
                <div class="panel-body">
                    <div class="form-group">
                        <div class="col-lg-12">
                            <div class="showme hidden" style="position: absolute; left:-120px; top:20px;">
                                <div class="well">
                                    <strong>Room Member/s:</strong>
                                    <div style="height: 10px;"></div>
                                </div>
                            </div>
                            <div>

                            </div>
			<?php foreach($toSelectFromchatRequestWithId as $value) : ?>


<?php
          echo form_open(base_url() . 'exhibitor/chat_request/update/'.$value['chat_request_id'] , array('class' => 'form-horizontal form-groups-bordered validate', 'enctype' => 'multipart/form-data'));?>

<div class="row">
                    <div class="col-sm-6">

					<div class="form-group">
                 		<label class="col-md-12" for="example-text"><?php echo get_phrase('visitor_name');?></label>
                    	<div class="col-sm-12">
							<input type="text" class="form-control" name="title" value="<?=$value['visitor_name']?>" required>

						</div>
					</div>
                    </div>
         </div>

<?php endforeach?>

     </div>
 </div>
</div>
<form id="createForm">
<div class="input-group">
    <!-- <input type="text" class="form-control" name="message" value="<?php echo $row['message'];?>" /> -->
    <!-- <input type="hidden" class="form-control" name="visitor_id" value="<?php echo $visitor['visitor_id'];?>" required/> -->
    <!-- <input type="hidden" class="form-control" name="exhibition_id" value="<?php echo"$exhibition_id"; ?>" required/> -->

    <!-- <input type="hidden" class="form-control" name="status"
                    value="accept"/> -->

    <span class="input-group-btn">
    <?php
//   if($chat_request['status'] == 'pending'):?>
    <input type="hidden" class="form-control" name="status"
                    value="accepted"/>
                    <div class="request-button">
        <button type="submit" >
            <!-- <span class="glyphicon glyphicon-comment"></span> -->
             Accept Chat Request</button>
</div>
             <?php
    //  endif?>
    </span>


    <!-- <span class="input-group-btn">
    <input type="hidden" class="form-control" name="status"
                    value="rejected"/>
        <button type="submit" class="btn btn-info" >
             Reject Chat Request</button>

    </span> -->



</div>

<!-- <div class="input-group">
     <span class="input-group-btn">
    <input type="hidden" class="form-control" name="status"
                    value="rejected"/>
        <button type="submit" class="btn btn-info" >
             Reject Chat Request</button>

    </span>
</div> -->
</form>
<script type="text/javascript">
    // $("#createForm").submit(function(event) {
    //         event.preventDefault();
    //         $.ajax({
    //                 url: "<?php echo base_url('exhibition/create'); ?>",
    //                 data: $("#createForm").serialize(),
    //                 type: "post",
    //                 async: false,
    //                 dataType: 'json',
    //                 success: function(response){

    //                     $('#createModal').modal('hide');
    //                     $('#createForm')[0].reset();
    //                    $('#exampleTable').DataTable().ajax.reload();
    //                   },
    //                error: function()
    //                {
    //                 alert("error");
    //                }
    //       });
    //     });
</script>