<?php
function rm_main_support_service(){

$dev_info = ds1_checkSettings("ds1_dev_info");

$dev_url    = (isset($dev_info['dev_url']) && !empty($dev_info['dev_url'])) 	? esc_html($dev_info['dev_url']) : 'https://r-m.dev';
$website_id = (isset($dev_info['website_id']) && !empty($dev_info['website_id']))? esc_html($dev_info['website_id']) : 'def';
?>
<div id="igrp">
<b>
  <span id="iszi">Support</span>
</b>
</div>
<div class="gjs-row" id="i77l">
<div class="gjs-cell" id="i0bi">
  <div class="gjs-row" id="imvri">
    <div class="gjs-cell box-call">
      <div id="ir699" class="box-title">Are you looking for tutorials explaining the control panel?
      </div>
      <div id="i4pd2">Do you have a question and want a quick answer? Why not search in our knowledge guide, we have provided it with most of the questions and their answers accurately, with pictures and videos
        <br/>
        You will find lessons such as:
        <ul class="list-x">
            <li>How can you modify the main menu of the site</li>
            <li>How to add codes for Google Analytics, Facebook Pixel, and others</li>
            <li>How do I change the contact details of the website and the WhatsApp number?</li>
            <li>How do I change social media links?</li>
            <li>How do I add a new slide to the main</li>
        </ul>
        And more..
      </div>
     
      <a href="<?php echo $dev_url .'/s/?s=helpguide&utm_source=supportsites&utm_medium='. urlencode(get_home_url()) .'&utm_campaign='. $website_id .'&utm_id=helpguide&utm_content=rm_main_support'; ?>" target="_blank" id="i9om8" class="main-link">Visit knowledge guide  →  </a>
    </div>
  </div>
</div>
<div class="gjs-cell" id="ivvt">
  <div class="gjs-row" id="izn5j">
    <div class="gjs-cell box-call">
      <div id="iff5" class="box-title">Technical support request
      </div>
      <div id="i4uv7">Do you have a problem? or an inquiry? Of course, we can help you, please click on the following link, with your technical support code.
        <br/>
      </div>
      <a href="<?php echo $dev_url .'/s/?s=theme-support&website_id='. $website_id .'&sitename='. urlencode(get_home_url()); ?>" target="_blank" id="ieyhi" class="main-link">Visit Support portal to create new request  →  </a>
      <div id="iy6fh">If the request is a new modification, the maintenance contract code must be provided, or the requester has the authority to request and paid contracts
      </div>
    </div>
  </div>
</div>
</div>
<style>
.gjs-row{
display:flex;
justify-content:flex-start;
align-items:stretch;
flex-wrap:nowrap;
padding:10px;
}
.gjs-cell{
min-height:75px;
flex-grow:1;
flex-basis:100%;
}
.box-call {
background: #f3f3f3;
padding: 20px;
border-radius: 10px;
box-shadow: 0 2px 10px #00000030;
}
.box-title{
padding:10px;
font-size:20px;
color:#ffffff;
background: var(--adminthemecolor, #303f9f);
background-repeat:repeat;
background-position:left top;
background-attachment:scroll;
background-size:auto;
margin:0 0 20px 0;
border-radius: 50px;
}
#igrp{
padding:10px;
margin-top: 30px;
}
#iszi{
font-size:35px;
}
#i4pd2{
padding:10px;
font-size:17px;
line-height: 1.7;
margin:0 0 20px 0;
}
#iy6fh{
padding:10px;
font-size:15px;
}
.main-link{
color:#d983a6;
width:100%;
border-radius:50px 50px 50px 50px;
border:1px solid #ad4c4c;
padding:10px 15px 10px 15px;
display:block;
}
.main-link:hover {
color:#fff;
background: var(--adminthemecolor, #303f9f);
}

#i4uv7{
padding:10px;
font-size:17px;
}

ul.list-x {
    list-style: disc;
    padding-inline-start: 30px;
}

@media (max-width: 768px){
.gjs-row{
flex-wrap:wrap;
}
}

</style>

<?php 
}
