403Webshell
Server IP : 103.234.187.230  /  Your IP : 216.73.216.216
Web Server : Apache
System : Linux lserver42043-ind.megavelocity.net 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/b2bzend/application/views/scripts/currency/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/b2bzend/application/views/scripts/currency/edit.phtml
 <?php 
 $customers = $this->customerList;
 
 $form  = $this->form;
 ?>

<!--Page main section start-->
<section id="min-wrapper" class="active">
    <div id="main-content">
        <div class="container-fluid">
            <div class="row">
                <div class="col-md-12">
                    <!--Top header start-->
                    <h3 class="ls-top-header"><?php echo $this->strPageTitle ?></h3>
                    <!--Top header end -->

                    <!--Top breadcrumb start -->
					<ol class="breadcrumb">
						<li><a href="#"><i class="fa fa-home"></i></a></li>
						<li class="active">Settting</li><li class="active">Edit Currency</li>
					</ol>
					<!--Top breadcrumb start -->
                </div>
            
				<!-- Error Msg Row Start -->
				<div class="col-md-12">
					<?php if (count($this->messages)) { ?>
					 <div class="alert alert-success" >
						 <button data-dismiss="alert" class="close" type="button">x</button>
						 <?php foreach ($this->messages as $message) {  ?>
						 <?php echo $this->escape($message); ?>
						 <?php } ?>
					 </div>
					<?php } ?>
					
					<?php if (@$this->eMsg != '') { ?>
					 <div class="alert alert-danger" >
						 <button data-dismiss="alert" class="close" type="button">x</button>
						 <?php echo $this->eMsg; ?>
					 </div>
					<?php } ?>
				</div>
				<!-- Error Msg Row End -->

			</div>
            <!-- Main Content Element  Start-->
            <div class="row">
                <form  method="<?php echo $this->form->getMethod(); ?>" name="<?php echo $this->form->getName(); ?>" id="<?php echo $this->form->getName(); ?>" enctype="multipart/form-data">
                    
                    <div class="col-md-12">
                        <div class="panel panel-default"> 
                            <div class="panel-heading">
                                <h3 class="panel-title">Edit Currency</h3>
                            </div>                               
                            <div class="panel-body">                            
                                <div class="col-md-3">
                                    <div class="form-group">
                                        <label>Currency <?php echo MANDATORY_SIGN; ?></label>
                                        <?php echo $form->Title; ?>
                                    </div>
                                </div>
								
								<div class="col-md-3">
                                    <div class="form-group">
                                        <label>Symbol <?php echo MANDATORY_SIGN; ?></label>
                                        <?php echo $form->Symbol; ?>
                                    </div>
                                </div>
                                
                                <div class="col-md-3">
                                    <div class="form-group">
                                        <label>Related Country<?php echo MANDATORY_SIGN; ?></label>
                                        <?php echo $form->countryList; ?>
                                    </div>
                                </div>
								
								<div class="col-md-3">
                                    <div class="form-group">
                                        <label>Logo</label>
                                        <?php echo $form->Logo; ?>
                                    </div>
                                </div>

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


                    <div class="col-md-12 no-padding no-margin">
                        <div class="panel-footer text-right">
                            <!--<input type="submit" class="btn btn-success" name="submit" value="Submit"/>-->
                            <button class="submit btn btn-success" type="submit" name="submit">Submit</button> 
                            <!--<a class="btn btn-success" href="#">Submit</a>-->
                            &nbsp;&nbsp;<a href="<?php echo $this->baseUrl("currency"); ?>" class="btn btn-default">Cancel</a>
                        </div>
                    </div>

                </form>

            </div>

            <!-- Main Content Element  End-->
        </div>
    </div>


    <?php echo $this->render('copyrightfooter.phtml'); ?>
</section>

<!-- ********* validation start **************-->
<script type="text/javascript" src="<?php echo $this->baseUrl('public/assets/js/jquery.validate.min.js'); ?>"></script>
<script type="text/javascript">
$(document).ready(function () {
    $.validator.setDefaults({
        /*OBSERVATION (1): note the options used for "ignore"*/
        ignore: ':not(select:hidden, input:visible, textarea:visible)',
        /*...other options omitted to focus on the OP...*/
    });
    
    $("#editCurrencyForm").validate({
        ignore: '*:not([name])',
		// debug: true,
        highlight: function (error, element) {
            var name = $(element).attr("name");
            $("input[name=" + name + "]").removeClass('error');
        },
        ignore: [],
        rules : {
            'Title' : {required : true},
			'Symbol' : {required : true},
            'countryList' : {required : true}
            
		},
        messages : {
            Title: "Please enter title",
			Symbol : "Please enter symbol",
           countryList : "Please select country",
            
        }
    });
});
</script>
<!-- ********* validation end **************-->


<!--Page main section end -->
<?php echo $this->render("newfooter.phtml"); ?>

Youez - 2016 - github.com/yon3zu
LinuXploit