? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/www/savoyglobal.net/drafthr/system/application/views/Settings/

Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
Upload File :
Current File : /home1/savoy/www/savoyglobal.net/drafthr/system/application/views/Settings/editactivity.php

<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> 
<script type="text/javascript">

    jQuery(document).ready(function ()
    {
            $('.one').datepick({dateFormat: 'dd-mm-yyyy'});
    });
    function update_activity(id,pageno,field,text)
    {


        var remark=document.getElementById('remark').value ;
        var eventname=document.getElementById('eventname').value ;
        var description=document.getElementById('description').value ;
        var location=document.getElementById('location').value ;
        var status=document.getElementById('status').value ;
      
        var priority=document.getElementById('priority').value ;
        var startdate1=document.getElementById('startdate').value ;
        var enddate1=document.getElementById('enddate').value ;
        var eventhour=document.getElementById('eventhour').value ;
        var eventmin=document.getElementById('eventmin').value ;
        var eventhourend=document.getElementById('eventhourend').value ;
        var eventminend=document.getElementById('eventminend').value ;
        var before=document.getElementById('before').value ;
        var start_time=eventhour+':'+eventmin+':00';
        var end_time=eventhourend+':'+eventminend+':00';
        var startdate=startdate1 + ' ' +start_time;
        var enddate=enddate1 + ' ' +end_time;
        if(startdate1>enddate1)
            {
                alert('Event Start is greater');

            }
            else
            {



                 if(validateform('eventname','startdate','enddate'))
                        {

                            $.post("<?php echo site_url('settings/updateevents/'); ?>",
                            {
                                'eventname':eventname,'description':description,'location':location,
                                'status':status,'before':before,'priority':priority,'startdate':startdate,'enddate':enddate,'remark':remark,
                                'id':id,'pageno':pageno,'field':field,'text':text
                            },
                            function(data)
                            {

                                $("#activitydiv").load("<?= site_url('settings/viewactivity/') ?>" + "/"  + pageno + "/" + field +"/" + text);

                            });
                        }

                }

    }
</script>
<style>
    #viewmain
    {
    padding:10px 0 0 50px;
    }
    #viewmain table tr
    {

        height:35px;
}
 #viewmain table tr td label
    {

        color:#000;
}
</style>
<div class="select-bar">
    <label>
    <img src="<?=base_url()?>/assets/images/backbutton.png" title="Back" class="clickimage"  onclick="viewactivity(<?=$currpage ?>,'eventname','')" alt="Back" align = "center" width="25" height="25"  /></label>

</div>



    <?php
    $result= $editevents->row();

    $attributes = array('id' => 'customForm');
    echo form_open('',$attributes);
    ?>
    <fieldset>
        <legend>Edit Events</legend>
        <div id="viewmain"> <table>
            <tr>
                <td>
                    <label  for="eventname"> Event Name</label>
                </td>
                <td>
                    <input value="<?php echo $result->eventname; ?>" type="text" name="eventname" id="eventname"/>
                    <span id="eventnameInfo" class="red_bold">*</span>
                </td>
            </tr>

            <tr>
                <td>
                    <label  for="description"> Description</label>
                </td>
                <td>
                    <textarea cols="5" rows="5" name="description" id="description"><?php echo $result->description; ?></textarea>
                </td>
            </tr>

            <tr>
                <td>
                    <label  for="location"> Location</label>
                </td>
                 <td>
                    <input value="<?php echo $result->location; ?>" type="text" name="location" id="location"/>
                </td>
            </tr>
            <tr>

                        <td>
                             <label  for="status"> Status</label>
                        </td>
                        <td>
                            <select value="<?php echo $result->status; ?>" name="status" id="status">
                                <option value="Pending" <?if ($result->status == "Pending"){?>selected<?php } ?>>Pending</option>
                                <option value="Completed" <?if ($result->status == "Completed"){?>selected<?php } ?>>Completed</option>
                                <option value="Cancelled" <?if ($result->status == "Cancelled"){?>selected<?php } ?>>Cancelled</option>
                            </select>
                        </td>

            </tr>
           
            <tr>

                        <td>
                             <label  for="priority"> Priority</label>
                        </td>
                        <td>
                            <select value="<?php echo $result->priority; ?>" name="priority" id="priority">
                                <option value="high">High</option>
                                <option value="medium">Medium</option>
                                <option value="low">Low</option>
                            </select>
                        </td>
            </tr>



            <tr>
                <td>
                    <label  for="eventstart"> Event start at</label>
                </td>
                <td>
                        <?php
                        $sdate=$result->startdate;
                        $shh=substr($sdate,11,2);
                        $smm=substr($sdate,14,2);
                        $stdate=substr($sdate,0,10);
                        $datestart = $this->mastermodel->convdatformat($stdate);
                        ?>
                        <select  style="width: 45px" name="eventhour" id="eventhour"><option value="<?php echo $shh; ?>"><?php echo $shh; ?></option>
                            <?php for($i=0;$i<=24;$i++)

                                   {
                                 $i=str_pad($i, 2, "0", STR_PAD_LEFT);

                                   echo "<option value=".$i.">".$i."</option>";
                            }
                            ?>
                        </select>
                    <?php echo " : "; ?>
                        <select style="width: 50px" name="eventmin" id="eventmin"><option value="<?php echo $smm; ?>"><?php echo $smm; ?></option>
                            <?php for($i=0;$i<=59;$i++)
                                  {
                                 $i=str_pad($i, 2, "0", STR_PAD_LEFT);

                                   echo "<option value=".$i.">".$i."</option>";
                            }
                            ?>
                        </select>
                  
                        <input value="<?php echo $datestart; ?>" class="one" readonly="readonly"  id="startdate" name="startdate"  />
                        <span id="startdateInfo" class="red_bold">*</span>
                </td>
            </tr>
            <tr>

                <td>
                    <label  for="eventend"> Event end at</label>
                </td>
                <td>
                        <?php
                        $edate=$result->enddate;
                        $ehh=substr($edate,11,2);
                        $emm=substr($edate,14,2);
                        $endate=substr($edate,0,10);
                        $dateend = $this->mastermodel->convdatformat($endate);
                        ?>
                        <select style="width: 45px" name="eventhourend" id="eventhourend"><option value="<?php echo $ehh; ?>"><?php echo $ehh; ?></option>
                            <?php for($i=0;$i<=24;$i++)

                                {
                                $i=str_pad($i, 2, "0", STR_PAD_LEFT);

                                echo "<option value=".$i.">".$i."</option>";
                                }
                            ?>
                        </select>
                    <?php echo " : "; ?>
                        <select style="width: 50px" name="eventminend" id="eventminend"><option value="<?php echo $emm; ?>"><?php echo $emm; ?></option>
                            <?php for($i=0;$i<=59;$i++)
                                {
                                $i=str_pad($i, 2, "0", STR_PAD_LEFT);

                                echo "<option value=".$i.">".$i."</option>";
                                }
                                
                            ?>
                        </select>

                         <input value="<?php echo $dateend ; ?>" class="one" readonly="readonly"  id="enddate" name="enddate"  />
                         <span id="enddateInfo" class="red_bold">*</span>
                </td>
            </tr>
 <tr>
                <td>
                     <label>Alert Before</label>
                </td>
                <td>
                     <input    id="before" name="before" value="<?php echo $result->alert; ?>"/>days
                </td>
            </tr>
             <tr>
                <td>
                    <label  for="remark"> Remarks</label>
                </td>
                <td>
                    <textarea cols="5" rows="5" name="remark" id="remark"><?php echo $result->remark; ?></textarea>
                </td>
            </tr>
            <tr>
                <td>
                   <br/><br/><br/>
                </td>
            </tr>
            <tr>
                <td>
                    <button type="button" name="update_act" class="clickimage" onclick="return converttodate('startdate','enddate'),update_activity('<?php echo $result->id; ?>' ,'<?php echo $currpage ?>','<?=$field ?>','<?= $text ?>')" id="update_act" value="save">Update</button>
                </td>
            </tr>

            </table></div>
    </fieldset>
<?php echo form_close(); ?>

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net