<?php $this->load->view("top_application"); ?>

<section>

  <div class="tz">

    <!--LEFT SECTION-->

    <div class="tz-l">

      <h4>Welcome <?php echo $this->session->userdata('fullname'); ?></h4>

      <div class="tz-l-1">

        <ul>

          <li><img src="<?php echo theme_url(); ?><?php echo theme_url(); ?>images/db-profile.jpg" alt="" /> </li>

          <li><span>80%</span> profile compl</li>

          <li><span>18</span> Notifications</li>

        </ul>

      </div>

      <div class="tz-l-2">

        <?php $this->load->view("members/left"); ?>

      </div>

    </div>

    <!--CENTER SECTION-->

    <div class="tz-4"> 

      <div class="tz-2-com tz-2-main">

        <h4>Website Settings</h4>

        <div class="db-list-com tz-db-table">

          <div class="ds-boar-title">

            <h2>Website Settings</h2>

          </div>

          <div class="hom-cre-acc-left hom-cre-acc-right">

            <div class="">

              <?php

              echo form_open_multipart();

              error_message();

              validation_message();

              ?>

              <div class="row">

                <div class="input-field col s12"><h5 class="text-center">Your Company Website Logo</h5></div>

              </div>

              <div class="row">

                <div class="input-field col s8">

                  <input id="website_logo" class="validate" tabindex="1" name="website_logo" type="file" />

                </div>

                <div class="input-field col s4">

                  <img src="<?php echo get_image('clients/logo', $settingRes['website_logo'], 100, 100, 'R'); ?>">

                </div>

              </div>



              <div class="row">

                <div class="input-field col s12"><h5 class="text-center">Your Company's Corporate Video</h5></div>

              </div>

              <div class="row">

                <div class="input-field col s6">

                  <input id="video_image" name="website_video" value="<?php echo set_value('website_video', $settingRes['website_video']); ?>" type="text" class="validate">

                  <label for="video_image">Youtube Corporate Video Link</label>

                </div>

                <div class="input-field col s6">

                  <a href="javascript:void(0);" class="modal-dialog modal-lg" data-toggle="modal" data-target="#myYoutubeModal"><img src="<?php echo theme_url(); ?>images/youtube-help.jpg" id="" class="profile_picture" width="" height="100" /></a>

                  <div id="myYoutubeModal" class="modal fade" role="dialog">

                    <div class="modal-dialog">

                      <!-- Modal content-->

                      <div class="modal-content">

                        <div class="modal-body">

                          <img src="<?php echo theme_url(); ?>images/youtube-help.jpg" id="" class="profile_picture" width="575" />

                        </div>

                        <div class="modal-footer">

                          <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>

                        </div>

                      </div>

                    </div>

                  </div>

                </div>

              </div>



              <div class="row">

                <div class="input-field col s12"><h5 class="text-center">Social Media Links</h5></div>

              </div>

              <div class="row">

                <div class="input-field col s12">

                  <input id="facebook_link" class="validate" tabindex="1" name="facebook_link" value="<?php echo set_value('facebook_link', $settingRes['facebook_link']); ?>" type="text" />

                  <label for="facebook_link">Facebook Link</label>

                </div>

              </div>

              <div class="row">

                <div class="input-field col s12">

                  <input id="twitter_link" class="validate" tabindex="1" name="twitter_link" value="<?php echo set_value('twitter_link', $settingRes['twitter_link']); ?>" type="text" />

                  <label for="twitter_link">Twitter Link</label>

                </div>

              </div>

              <div class="row">

                <div class="input-field col s12">

                  <input id="linkedin_link" class="validate" tabindex="1" name="linkedin_link" value="<?php echo set_value('linkedin_link', $settingRes['linkedin_link']); ?>" type="text" />

                  <label for="linkedin_link">Linkedin Link</label>

                </div>

              </div>

              <div class="row">

                <div class="input-field col s12">

                  <input id="youtube_link" class="validate" tabindex="1" name="youtube_link" value="<?php echo set_value('youtube_link', $settingRes['youtube_link']); ?>" type="text" />

                  <label for="youtube_link">YouTube Link</label>

                </div>

              </div>



              <div class="row">

                <div class="input-field col s12"><h5 class="text-center">Why Us Content</h5></div>

              </div>

              <div class="row">

                <div class="input-field col s12">

                  <input id="whyus_title1" class="validate" tabindex="1" name="whyus_title1" value="<?php echo set_value('whyus_title1', $settingRes['whyus_title1']); ?>" type="text" />

                  <label for="whyus_title1">Why Us Title - 1*</label>

                </div>

              </div>

              <div class="row">

                <div class="input-field col s12">

                  <textarea id="whyus_desc1" class="validate" tabindex="1" name="whyus_desc1"><?php echo set_value('whyus_desc1', $settingRes['whyus_desc1']); ?></textarea>

                  <label for="whyus_desc1">Why Us Details - 1*</label>

                </div>

              </div>



              <div class="row">

                <div class="input-field col s12">

                  <input id="whyus_title2" class="validate" tabindex="1" name="whyus_title2" value="<?php echo set_value('whyus_title2', $settingRes['whyus_title2']); ?>" type="text" />

                  <label for="whyus_title2">Why Us Title - 2*</label>

                </div>

              </div>

              <div class="row">

                <div class="input-field col s12">

                  <textarea id="whyus_desc2" class="validate" tabindex="1" name="whyus_desc2"><?php echo set_value('whyus_desc2', $settingRes['whyus_desc2']); ?></textarea>

                  <label for="whyus_desc2">Why Us Details - 2*</label>

                </div>

              </div>



              <div class="row">

                <div class="input-field col s12">

                  <input id="whyus_title3" class="validate" tabindex="1" name="whyus_title3" value="<?php echo set_value('whyus_title3', $settingRes['whyus_title3']); ?>" type="text" />

                  <label for="whyus_title3">Why Us Title - 3*</label>

                </div>

              </div>

              <div class="row">

                <div class="input-field col s12">

                  <textarea id="whyus_desc3" class="validate" tabindex="1" name="whyus_desc3"><?php echo set_value('whyus_desc3', $settingRes['whyus_desc3']); ?></textarea>

                  <label for="whyus_desc3">Why Us Details - 3*</label>

                </div>

              </div>



              <div class="row">

                <div class="input-field col s12">

                  <input id="whyus_title4" class="validate" tabindex="1" name="whyus_title4" value="<?php echo set_value('whyus_title4', $settingRes['whyus_title4']); ?>" type="text" />

                  <label for="whyus_title4">Why Us Title - 4*</label>

                </div>

              </div>

              <div class="row">

                <div class="input-field col s12">

                  <textarea id="whyus_desc4" class="validate" tabindex="1" name="whyus_desc4"><?php echo set_value('whyus_desc4', $settingRes['whyus_desc4']); ?></textarea>

                  <label for="whyus_desc4">Why Us Details - 4*</label>

                </div>

              </div>



              <div class="row">

                <div class="input-field col s12"><h5 class="text-center">Upload Map</h5></div>

              </div>

              <div class="row">

                <div class="input-field col s12">

                  <textarea id="webiste_map" class="validate" tabindex="1" name="webiste_map"><?php echo set_value('webiste_map', $settingRes['webiste_map']); ?></textarea>

                  <label for="webiste_map">Company's Google Map*</label>

                </div>

              </div>

              

              <div class="row">

                <div class="input-field col s12"><h5 class="text-center">Write about you Service and Delivery</h5></div>

              </div>

              <div class="row">

                <div class="input-field col s12">

                  <textarea id="about_serviceability" class="validate" tabindex="1" name="about_serviceability"><?php echo set_value('about_serviceability', $settingRes['about_serviceability']); ?></textarea>

                  <label for="about_serviceability">Write about you Service and Delivery*</label>

                </div>

              </div>

              <div class="row">

                <div class="input-field col s12"><h5 class="text-center">Location Where you Serve (, comma seperated)</h5></div>

              </div>

              <div class="row">

                <div class="input-field col s12">

                  <input id="location_serve" class="validate" tabindex="1" name="location_serve" value="<?php echo set_value('location_serve', $settingRes['location_serve']); ?>" type="text" />

                  <label for="location_serve">Locations You Serve*</label>

                </div>

              </div>



              <div class="row">

                <div class="input-field col s12 v2-mar-top-40"> <button type="submit" class="waves-effect waves-light btn-large full-btn">Update Settings</button> </div>

              </div>

              <?php echo form_close(); ?>

            </div>

          </div>

        </div>

      </div>

    </div>

    

  </div>

</section>

<?php $this->load->view("bottom_application"); ?>