<link href="<?php echo base_url(); ?>front_end_resource/css/screen.css" rel="stylesheet" media="screen" type="text/css"/>
<link href="<?php echo base_url(); ?>front_end_resource/css/print.css" rel="stylesheet" media="print" type="text/css"/>


<input type="hidden" id="baseUrl" value="<?php echo base_url(); ?>">
<div class="col-sm-9">
    <div class="row ">
        <div class="col-sm-12 " >
            <div class="col-sm-12">
                <h3>Create Certificate for 
                    <?php echo $certificate_type ?>
                    <?php echo '<span class="text-success">' . $course_name . '</span>' ?>
                </h3>                
                <hr>
                <div class="text-justify">
                    <center>
                        <div class="col-sm-12">
                            <span class="clo-sm-3" title="Course Profile" style="padding: 0">
                                <span class="number badge" style="background-color: gray">1</span>
                                <span class="text-left label" style="color: #000;font-size: 14px;font-weight: normal">Certificate Information</span>
                                <span class="nav-arrow" id="cborder" style="margin-right: 2px"><img src="<?php echo base_url(); ?>image/border.jpg"></span>
                            </span>

                            <span class="clo-sm-3" title="Add work Files" style="padding: 0">
                                <span class="number badge" style="background-color: green;">2</span>
                                <span class="text-left label" style="color: #000;font-size: 14px;font-weight: normal;padding: 0">Certificate Demo</span>
                            </span>
                        </div>
                    </center>
                </div>
                <div class="col-sm-12"><br></div>
            </div>

            <div class="col-sm-12 " >
                <div class="col-sm-12 gray_ttc" style="border: 8px solid #8CC73F;">
                    <div class="row">
                        <div class="col-sm-12" style="margin: 20px 0px; ">
                            <div class="top-header_img">
                                <?php if (isset($certificate_logo)) { ?>                                    
                                    <img src="<?php echo base_url($certificate_logo) ?>" title="logo" style="width: 50px">
                                <?php } else { ?>
                                    <img src="<?php echo base_url('images/logo-50.png') ?>" title="logo">
                                <?php } ?>
                            </div>
                            <div class="top-header-comp-name"><?php echo $organization_name ?></div>
                        </div>
                        <div class="col-sm-12" style="text-align: right; border-bottom: 4px solid #8CC73F; margin-bottom: 20px;">                                
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-12 text-center" style="height: 100px">
                            <h1 class="certificate_h1_content">Certificate of Completion</h1>
                        </div>
                        <div class="col-sm-12 text-center certificate_content" style="margin: 80px 0px;">
                            <p>  This is to acknowledge that</p>
                            <p class="certificate_owner_name" style="margin: 30px"> Student Name</p>
                            <p>has Completed</p>
                            <p>A Training Course on : <?php echo $course_name; ?></p>
                            <p>With a Roll number : (Student Roll Number)</p>
                            <p>Given this day of (date of completion)</p>
                        </div>
                        <div class="col-sm-12">
                            <div class="col-sm-offset-6 col-sm-6">
                                <div class="col-sm-offset-6 text-center" style="margin-bottom: 25px;">
                                    <p><?php echo $resource_person ?></p>
                                    <p>Instructor</p>
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-12 text-left">
                            <p class="text-left">Verification Link:&nbsp;&nbsp;<strong>www.talhatraining.com/demo-link</strong></p>
                        </div>
                    </div>
                </div>
                <div class="form-group col-sm-12" ><br></div>
                <div class="col-sm-3">
                    <a href="<?php echo base_url() . 'admin/edit-course-certificate/' . $course_url ?>" class="green-btn btn btn-default">Edit Certificate</a><br/><br/>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="<?php echo base_url(); ?>back_end_resource/quiz/admin_certificate.js" type="text/javascript"></script>