<?php if(session('user_id')): ?>
<?php require view('theme/header'); ?>

        <div class="app-content">
			<div class="container-fluid">

			   <div class="d-card dc-dash">
                    <div class="row">
                        <div class="col-lg-6 col-md-8 col-12">
                            <div class="py-3 px-5">
                                <div class="dch-title">
                                    API
                                </div>
                                <div class="dch-text">
                                    Aşağıdaki bilgiler ile sitemizden servis çekebilirsiniz.
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

				<section class="neworder">

						<div class="row">
							<div class="col-lg-12 col-12 mb-5 mb-lg-0">
								<div class="d-card">

									<div class="d-card-body" id="dc-body">

										 <div class="table-responsive">
											<div class="center-big-content-block">
											   <div class="center-big-content-block">
												  <table class="table api table-bordered">
													 <tbody>
														<tr>
														   <td class="width-40">HTTP Method</td>
														   <td>POST</td>
														</tr>
														<tr>
														   <td>API URL</td>
														   <td>{API_URL}</td>
														</tr>
														<tr>
														   <td>API Key</td>
														   <td>{USER_API_KEY}</td>
														</tr>
														<tr>
														   <td>Response format</td>
														   <td>JSON</td>
														</tr>
													 </tbody>
												  </table>
												  <h4 class="m-t-md"><strong>Service list</strong></h4>
												  <table class="table api table-bordered">
													 <thead class="white">
														<tr>
														   <th class="width-40">Parameters</th>
														   <th>Description</th>
														</tr>
													 </thead>
													 <tbody>
														<tr>
														   <td>key</td>
														   <td>Your API key</td>
														</tr>
														<tr>
														   <td>action</td>
														   <td>services</td>
														</tr>
													 </tbody>
												  </table>
												  <p><strong>Example response</strong></p>
												  <pre class="code">
[
{
    "service": 1,
    "name": "Followers",
    "type": "Default",
    "category": "First Category",
    "rate": "0.90",
    "min": "50",
    "max": "10000",
    "refill": true
},
{
    "service": 2,
    "name": "Comments",
    "type": "Custom Comments",
    "category": "Second Category",
    "rate": "8",
    "min": "10",
    "max": "1500",
    "refill": false
}
]
		</pre>
												  <h4 class="m-t-md"><strong>Add order</strong></h4>
												  <p>
												  <form class="form-inline">
													 <div class="form-group">
														<select class="form-control input-sm" id="service_type">
														   <option value="0">Default</option>
														   <option value="10">Package</option>
														   <option value="2">Custom Comments</option>
														   <option value="17">Poll</option>
														   <option value="100">Subscriptions</option>
														</select>
													 </div>
												  </form>
												  </p>
												  <div id="type_0">
													 <table class="table api table-bordered">
														<thead class="white">
														   <tr>
															  <th class="width-40">Parameters</th>
															  <th>Description</th>
														   </tr>
														</thead>
														<tbody>
														   <tr>
															  <td>key</td>
															  <td>Your API key</td>
														   </tr>
														   <tr>
															  <td>action</td>
															  <td>add</td>
														   </tr>
														   <tr>
															  <td>service</td>
															  <td>Service ID</td>
														   </tr>
														   <tr>
															  <td>link</td>
															  <td>Link to page</td>
														   </tr>
														   <tr>
															  <td>quantity</td>
															  <td>Needed quantity</td>
														   </tr>
														   <tr>
															  <td>runs (optional)</td>
															  <td>Runs to deliver</td>
														   </tr>
														   <tr>
															  <td>interval (optional)</td>
															  <td>Interval in minutes</td>
														   </tr>
														</tbody>
													 </table>
												  </div>
												  <div id="type_10" style="display:none;">
													 <table class="table api table-bordered">
														<thead class="white">
														   <tr>
															  <th class="width-40">Parameters</th>
															  <th>Description</th>
														   </tr>
														</thead>
														<tbody>
														   <tr>
															  <td>key</td>
															  <td>Your API key</td>
														   </tr>
														   <tr>
															  <td>action</td>
															  <td>add</td>
														   </tr>
														   <tr>
															  <td>service</td>
															  <td>Service ID</td>
														   </tr>
														   <tr>
															  <td>link</td>
															  <td>Link to page</td>
														   </tr>
														</tbody>
													 </table>
												  </div>
												  <div id="type_2" style="display:none;">
													 <table class="table api table-bordered">
														<thead class="white">
														   <tr>
															  <th class="width-40">Parameters</th>
															  <th>Description</th>
														   </tr>
														</thead>
														<tbody>
														   <tr>
															  <td>key</td>
															  <td>Your API key</td>
														   </tr>
														   <tr>
															  <td>action</td>
															  <td>add</td>
														   </tr>
														   <tr>
															  <td>service</td>
															  <td>Service ID</td>
														   </tr>
														   <tr>
															  <td>link</td>
															  <td>Link to page</td>
														   </tr>
														   <tr>
															  <td>comments</td>
															  <td>Comments list separated by \r\n or \n</td>
														   </tr>
														</tbody>
													 </table>
												  </div>
												  <div id="type_100" style="display:none;">
													 <table class="table api table-bordered">
														<thead class="white">
														   <tr>
															  <th class="width-40">Parameters</th>
															  <th>Description</th>
														   </tr>
														</thead>
														<tbody>
														   <tr>
															  <td>key</td>
															  <td>Your API key</td>
														   </tr>
														   <tr>
															  <td>action</td>
															  <td>add</td>
														   </tr>
														   <tr>
															  <td>service</td>
															  <td>Service ID</td>
														   </tr>
														   <tr>
															  <td>username</td>
															  <td>Username</td>
														   </tr>
														   <tr>
															  <td>min</td>
															  <td>Quantity min</td>
														   </tr>
														   <tr>
															  <td>max</td>
															  <td>Quantity max</td>
														   </tr>
														   <tr>
															  <td>posts</td>
															  <td>New posts count</td>
														   </tr>
														   <tr>
															  <td>delay</td>
															  <td>Delay in minutes. Possible values: 0, 5, 10, 15, 30, 60, 90</td>
														   </tr>
														   <tr>
															  <td>expiry (optional)</td>
															  <td>Expiry date. Format d/m/Y</td>
														   </tr>
														</tbody>
													 </table>
												  </div>
												  <div id="type_17" style="display:none;">
													 <table class="table api table-bordered">
														<thead class="white">
														   <tr>
															  <th class="width-40">Parameters</th>
															  <th>Description</th>
														   </tr>
														</thead>
														<tbody>
														   <tr>
															  <td>key</td>
															  <td>Your API key</td>
														   </tr>
														   <tr>
															  <td>action</td>
															  <td>add</td>
														   </tr>
														   <tr>
															  <td>service</td>
															  <td>Service ID</td>
														   </tr>
														   <tr>
															  <td>link</td>
															  <td>Link to page</td>
														   </tr>
														   <tr>
															  <td>quantity</td>
															  <td>Needed quantity</td>
														   </tr>
														   <tr>
															  <td>answer_number</td>
															  <td>Answer number of the poll</td>
														   </tr>
														</tbody>
													 </table>
												  </div>
												  <p><strong>Example response</strong></p>
												  <pre class="code">
{
  "order": 23501
}
</pre>
												  <h4 class="m-t-md"><strong>Order status</strong></h4>
												  <table class="table api table-bordered">
													 <thead class="white">
														<tr>
														   <th class="width-40">Parameters</th>
														   <th>Description</th>
														</tr>
													 </thead>
													 <tbody>
														<tr>
														   <td>key</td>
														   <td>Your API key</td>
														</tr>
														<tr>
														   <td>action</td>
														   <td>status</td>
														</tr>
														<tr>
														   <td>order</td>
														   <td>Order ID</td>
														</tr>
													 </tbody>
												  </table>
												  <p><strong>Example response</strong></p>
												  <pre class="code">
{
  "charge": "0.27819",
  "start_count": "3572",
  "status": "Partial",
  "remains": "157",
  "currency": "USD"
}
</pre>
												  <h4 class="m-t-md"><strong>Multiple orders status</strong></h4>
												  <table class="table api table-bordered">
													 <thead class="white">
														<tr>
														   <th class="width-40">Parameters</th>
														   <th>Description</th>
														</tr>
													 </thead>
													 <tbody>
														<tr>
														   <td>key</td>
														   <td>Your API key</td>
														</tr>
														<tr>
														   <td>action</td>
														   <td>status</td>
														</tr>
														<tr>
														   <td>orders</td>
														   <td>Order IDs separated by comma</td>
														</tr>
													 </tbody>
												  </table>
												  <p><strong>Example response</strong></p>
												  <pre class="code">
  {
  "1": {
    "charge": "0.27819",
    "start_count": "3572",
    "status": "Partial",
    "remains": "157",
    "currency": "USD"
  },
  "10": {
    "error": "Incorrect order ID"
  },
  "100": {
    "charge": "1.44219",
    "start_count": "234",
    "status": "In progress",
    "remains": "10",
    "currency": "USD"
  }
}
</pre>

												  <h4 class="m-t-md"><strong>User balance</strong></h4>
												  <table class="table api table-bordered">
													 <thead class="white">
														<tr>
														   <th class="width-40">Parameters</th>
														   <th>Description</th>
														</tr>
													 </thead>
													 <tbody>
														<tr>
														   <td>key</td>
														   <td>Your API key</td>
														</tr>
														<tr>
														   <td>action</td>
														   <td>balance</td>
														</tr>
													 </tbody>
												  </table>
												  <p><strong>Example response</strong></p>
												  <pre class="code">
{
  "balance": "100.84292",
  "currency": "USD"
}
</pre>
											   </div>
											</div>
										 </div>


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

					</section>

			</div>
		</div>
<?php require view('theme/footer'); ?>
<?php else: ?>
<!DOCTYPE html>
<html lang="en">
   <head>
      <meta charset="UTF-8">
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <?php if (@$meta) : ?>        
      <title><?php if ($meta['title']) : ?><?= $meta['title'] ?><?php else : ?>{PAGE_TITLE} | {SITE_TITLE}<?php endif; ?></title>
      <meta name="description" content="<?php if ($meta['desc']) : ?><?= $meta['desc'] ?><?php else : ?>{SITE_DESC}<?php endif; ?>" />
      <meta name="keywords" content="<?php if ($meta['keyw']) : ?><?= $meta['keyw'] ?><?php else : ?>{SITE_KEYW}<?php endif; ?>" />
      <?php else : ?>        
      <title>{PAGE_TITLE} | {SITE_TITLE}</title>
      <meta name="description" content="{SITE_DESC}" />
      <meta name="keywords" content="{SITE_KEYW}" />
      <?php endif; ?>    
      <link rel="shortcut icon" href="{SITE_FAVO}" />
      <link href="<?= theme("assets/kits/bootstrap/css/bootstrap.min.css"); ?>?v=<?= time() ?>" rel="stylesheet">
      <link rel="stylesheet" type="text/css" href="https://cdn.mypanel.link/css/font-awesome/css/all.min.css">
      <link href="<?= theme("assets/css/main.css"); ?>?v=<?= time() ?>" rel="stylesheet">
      <link rel="stylesheet" href="<?= public_url("system/css/alertify.css"); ?>">
      <script src="https://www.google.com/recaptcha/api.js" async defer></script>    <script type="text/javascript">        var _url = "{LINK_POST}";    </script>    <?= htmlspecialchars_decode($settings['header_code']); ?>
   </head>
   <body>
      <div class="header">
         <div class="container">
            <div class="row" style="height: 99px;">
               <div class="col-auto align-self-center">
                  <div class="row">
                     <div class="col align-self-center">
                        <a href="/">
                           <div class="site-name">                                <img src="{SITE_LOGO}" alt="">                            </div>
                        </a>
                     </div>
                  </div>
               </div>
               <div class="col">
                  <div class="head-menu">
                     <div class="row">
                        <div class="col text-lg-right mmff">
                           <div class="header-menu">
                              <ul>
                        <?php foreach($mainmenus as $row): if($row['menu_type'] == 2): ?>
                        <?php
                        
                                ?>
                                        <li>
                                            <a href="<?=isset($siteLinks[$row['menu_link']]['url']) ? $siteLinks[$row['menu_link']]['url'] : $row['menu_link'] ?>"><?=$row['menu_title']?></a>
                                        </li>

					<?php endif; endforeach; ?>
                              </ul>
                           </div>
                        </div>
                        <div class="col-auto align-self-center mmff">
                           <a href="/register" class="menu-btn">
                              <div class="mb-icon">										<i class="fas fa-user-circle"></i>									</div>
                              <div class="mb-text">Kayıt Ol</div>
                           </a>
                        </div>
                     </div>
                  </div>
               </div>
               <div class="col-auto for-mobile align-self-center">
                  <div class="home-menu-btn px-3 py-4" onclick="homeMenuToggle()" style="color: #fff;">                        <i class="fal fa-bars"></i>                    </div>
               </div>
            </div>
         </div>
      </div>
      <div class="home-head">
         <div class="home-head-bg" style="height:125px"></div>
      </div>
      <section class="neworder">
         <div class="container">
            <div class="row">
               <div class="col-lg-12 col-12 mb-5 mb-lg-0">
                   			   <div class="d-card dc-dash">
                    <div class="row">
                        <div class="col-lg-6 col-md-8 col-12">
                            <div class="py-3 px-5">
                                <div class="dch-title">
                                    API
                                </div>
                                <div class="dch-text">
                                    Aşağıdaki bilgiler ile sitemizden servis çekebilirsiniz.
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                  <div class="d-card">
                      
                     <div class="d-card-body" id="dc-body">

				<section class="neworder">

						<div class="row">
							<div class="col-lg-12 col-12 mb-5 mb-lg-0">
								<div class="d-card">

									<div class="d-card-body" id="dc-body">

										 <div class="table-responsive">
											<div class="center-big-content-block">
											   <div class="center-big-content-block">
												  <table class="table api table-bordered">
													 <tbody>
														<tr>
														   <td class="width-40">HTTP Method</td>
														   <td>POST</td>
														</tr>
														<tr>
														   <td>API URL</td>
														   <td>{API_URL}</td>
														</tr>
														<tr>
														   <td>API Key</td>
														   <td>{USER_API_KEY}</td>
														</tr>
														<tr>
														   <td>Response format</td>
														   <td>JSON</td>
														</tr>
													 </tbody>
												  </table>
												  <h4 class="m-t-md"><strong>Service list</strong></h4>
												  <table class="table api table-bordered">
													 <thead class="white">
														<tr>
														   <th class="width-40">Parameters</th>
														   <th>Description</th>
														</tr>
													 </thead>
													 <tbody>
														<tr>
														   <td>key</td>
														   <td>Your API key</td>
														</tr>
														<tr>
														   <td>action</td>
														   <td>services</td>
														</tr>
													 </tbody>
												  </table>
												  <p><strong>Example response</strong></p>
												  <pre class="code">
[
{
    "service": 1,
    "name": "Followers",
    "type": "Default",
    "category": "First Category",
    "rate": "0.90",
    "min": "50",
    "max": "10000",
    "refill": true
},
{
    "service": 2,
    "name": "Comments",
    "type": "Custom Comments",
    "category": "Second Category",
    "rate": "8",
    "min": "10",
    "max": "1500",
    "refill": false
}
]
		</pre>
												  <h4 class="m-t-md"><strong>Add order</strong></h4>
												  <p>
												  <form class="form-inline">
													 <div class="form-group">
														<select class="form-control input-sm" id="service_type">
														   <option value="0">Default</option>
														   <option value="10">Package</option>
														   <option value="2">Custom Comments</option>
														   <option value="17">Poll</option>
														   <option value="100">Subscriptions</option>
														</select>
													 </div>
												  </form>
												  </p>
												  <div id="type_0">
													 <table class="table api table-bordered">
														<thead class="white">
														   <tr>
															  <th class="width-40">Parameters</th>
															  <th>Description</th>
														   </tr>
														</thead>
														<tbody>
														   <tr>
															  <td>key</td>
															  <td>Your API key</td>
														   </tr>
														   <tr>
															  <td>action</td>
															  <td>add</td>
														   </tr>
														   <tr>
															  <td>service</td>
															  <td>Service ID</td>
														   </tr>
														   <tr>
															  <td>link</td>
															  <td>Link to page</td>
														   </tr>
														   <tr>
															  <td>quantity</td>
															  <td>Needed quantity</td>
														   </tr>
														   <tr>
															  <td>runs (optional)</td>
															  <td>Runs to deliver</td>
														   </tr>
														   <tr>
															  <td>interval (optional)</td>
															  <td>Interval in minutes</td>
														   </tr>
														</tbody>
													 </table>
												  </div>
												  <div id="type_10" style="display:none;">
													 <table class="table api table-bordered">
														<thead class="white">
														   <tr>
															  <th class="width-40">Parameters</th>
															  <th>Description</th>
														   </tr>
														</thead>
														<tbody>
														   <tr>
															  <td>key</td>
															  <td>Your API key</td>
														   </tr>
														   <tr>
															  <td>action</td>
															  <td>add</td>
														   </tr>
														   <tr>
															  <td>service</td>
															  <td>Service ID</td>
														   </tr>
														   <tr>
															  <td>link</td>
															  <td>Link to page</td>
														   </tr>
														</tbody>
													 </table>
												  </div>
												  <div id="type_2" style="display:none;">
													 <table class="table api table-bordered">
														<thead class="white">
														   <tr>
															  <th class="width-40">Parameters</th>
															  <th>Description</th>
														   </tr>
														</thead>
														<tbody>
														   <tr>
															  <td>key</td>
															  <td>Your API key</td>
														   </tr>
														   <tr>
															  <td>action</td>
															  <td>add</td>
														   </tr>
														   <tr>
															  <td>service</td>
															  <td>Service ID</td>
														   </tr>
														   <tr>
															  <td>link</td>
															  <td>Link to page</td>
														   </tr>
														   <tr>
															  <td>comments</td>
															  <td>Comments list separated by \r\n or \n</td>
														   </tr>
														</tbody>
													 </table>
												  </div>
												  <div id="type_100" style="display:none;">
													 <table class="table api table-bordered">
														<thead class="white">
														   <tr>
															  <th class="width-40">Parameters</th>
															  <th>Description</th>
														   </tr>
														</thead>
														<tbody>
														   <tr>
															  <td>key</td>
															  <td>Your API key</td>
														   </tr>
														   <tr>
															  <td>action</td>
															  <td>add</td>
														   </tr>
														   <tr>
															  <td>service</td>
															  <td>Service ID</td>
														   </tr>
														   <tr>
															  <td>username</td>
															  <td>Username</td>
														   </tr>
														   <tr>
															  <td>min</td>
															  <td>Quantity min</td>
														   </tr>
														   <tr>
															  <td>max</td>
															  <td>Quantity max</td>
														   </tr>
														   <tr>
															  <td>posts</td>
															  <td>New posts count</td>
														   </tr>
														   <tr>
															  <td>delay</td>
															  <td>Delay in minutes. Possible values: 0, 5, 10, 15, 30, 60, 90</td>
														   </tr>
														   <tr>
															  <td>expiry (optional)</td>
															  <td>Expiry date. Format d/m/Y</td>
														   </tr>
														</tbody>
													 </table>
												  </div>
												  <div id="type_17" style="display:none;">
													 <table class="table api table-bordered">
														<thead class="white">
														   <tr>
															  <th class="width-40">Parameters</th>
															  <th>Description</th>
														   </tr>
														</thead>
														<tbody>
														   <tr>
															  <td>key</td>
															  <td>Your API key</td>
														   </tr>
														   <tr>
															  <td>action</td>
															  <td>add</td>
														   </tr>
														   <tr>
															  <td>service</td>
															  <td>Service ID</td>
														   </tr>
														   <tr>
															  <td>link</td>
															  <td>Link to page</td>
														   </tr>
														   <tr>
															  <td>quantity</td>
															  <td>Needed quantity</td>
														   </tr>
														   <tr>
															  <td>answer_number</td>
															  <td>Answer number of the poll</td>
														   </tr>
														</tbody>
													 </table>
												  </div>
												  <p><strong>Example response</strong></p>
												  <pre class="code">
{
  "order": 23501
}
</pre>
												  <h4 class="m-t-md"><strong>Order status</strong></h4>
												  <table class="table api table-bordered">
													 <thead class="white">
														<tr>
														   <th class="width-40">Parameters</th>
														   <th>Description</th>
														</tr>
													 </thead>
													 <tbody>
														<tr>
														   <td>key</td>
														   <td>Your API key</td>
														</tr>
														<tr>
														   <td>action</td>
														   <td>status</td>
														</tr>
														<tr>
														   <td>order</td>
														   <td>Order ID</td>
														</tr>
													 </tbody>
												  </table>
												  <p><strong>Example response</strong></p>
												  <pre class="code">
{
  "charge": "0.27819",
  "start_count": "3572",
  "status": "Partial",
  "remains": "157",
  "currency": "USD"
}
</pre>
												  <h4 class="m-t-md"><strong>Multiple orders status</strong></h4>
												  <table class="table api table-bordered">
													 <thead class="white">
														<tr>
														   <th class="width-40">Parameters</th>
														   <th>Description</th>
														</tr>
													 </thead>
													 <tbody>
														<tr>
														   <td>key</td>
														   <td>Your API key</td>
														</tr>
														<tr>
														   <td>action</td>
														   <td>status</td>
														</tr>
														<tr>
														   <td>orders</td>
														   <td>Order IDs separated by comma</td>
														</tr>
													 </tbody>
												  </table>
												  <p><strong>Example response</strong></p>
												  <pre class="code">
  {
  "1": {
    "charge": "0.27819",
    "start_count": "3572",
    "status": "Partial",
    "remains": "157",
    "currency": "USD"
  },
  "10": {
    "error": "Incorrect order ID"
  },
  "100": {
    "charge": "1.44219",
    "start_count": "234",
    "status": "In progress",
    "remains": "10",
    "currency": "USD"
  }
}
</pre>

												  <h4 class="m-t-md"><strong>User balance</strong></h4>
												  <table class="table api table-bordered">
													 <thead class="white">
														<tr>
														   <th class="width-40">Parameters</th>
														   <th>Description</th>
														</tr>
													 </thead>
													 <tbody>
														<tr>
														   <td>key</td>
														   <td>Your API key</td>
														</tr>
														<tr>
														   <td>action</td>
														   <td>balance</td>
														</tr>
													 </tbody>
												  </table>
												  <p><strong>Example response</strong></p>
												  <pre class="code">
{
  "balance": "100.84292",
  "currency": "USD"
}
</pre>
											   </div>
											</div>
										 </div>


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

					</section>
                     </div>
                  </div>
               </div>
            </div>
         </div>
      </section>
      <div class="footer mt-5">
         <div class="container">
            <div class="ft-content">
               <div class="ftc-top">
                  <div class="row">
                     <div class="col-md-auto col-12 text-center text-md-left">
                        <div class="ftc-name">
                           <div class="row">
                              <div class="col align-self-center">
                                 <div class="fct-name">                                    <img class="img-fluid" style="height: 75px;" src="{SITE_LOGO}" />                                 </div>
                              </div>
                           </div>
                        </div>
                     </div>
                     <div class="col-md col-12 mt-4 mt-lg-0 align-self-center">
                        <div class="footer-links text-md-right text-center">
                           <ul>
                                                            <li>
                                 <a href="../faq">Sıkça Sorular Sorular</a>
                              </li>
                              <li>
                                 <a href="../terms">Kullanıcı Sözleşmesi </a>
                              </li>
                              <li>
                                 <a href="../services">Servis Listesi</a>
                              </li>
                           </ul>
                        </div>
                     </div>
                  </div>
               </div>
            </div>
         </div>
         <div class="container">
            <div class="ft-content-bot">
               <div class="ft-content-bot-text">
                  <br />                  
                  <p><strong>{SITE_TITLE}</strong> Sosyal Medya Bayilik Paneli.</p>
                  <p>Tüm Hakları Saklıdır. ©2021</p>
               </div>
            </div>
         </div>
      </div>
      <nav class="mob-nav">
         <ul class="mob-nav-link">					 <li>
                        <a href="/">
                            <i class="fal fa-sign-in-alt"></i>
                            <span>Giriş Yap</span>
                        </a>
                    </li>
					 <li>
                        <a href="/services">
                            <i class="fal fa-tags"></i>
                            <span>Servisler</span>
                        </a>
                    </li>
					 <li>
                        <a href="/register">
                            <i class="fal fa-user"></i>
                            <span>Kayıt Ol</span>
                        </a>
                    </li>
         </ul>
      </nav>
      	<div class="modal" id="descModal" tabindex="-1" aria-hidden="true">

		<div class="modal-dialog modal-dialog-centered" role="document">

			<div class="modal-content">

				<div class="modal-header">

					<h5 class="modal-title">{SERVICES_DESC}</h5>

					<button type="button" class="close" data-dismiss="modal" aria-label="Close">

						<span aria-hidden="true">×</span>

					</button>

				</div>

				<div class="modal-body m-3" id="modalContent" style="color:#fff;">

				</div>

				<div class="modal-footer">

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

				</div>

			</div>

		</div>

	</div>



			<div class="modal fade" id="mobilemenu" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">

		<div class="modal-dialog">

			<div class="modal-content">

				<div class="modal-body">

					<ul>
						<?php foreach($mainmenus as $row): if($row['menu_type'] == 2):?>
							<li><a href="<?=isset($siteLinks[$row['menu_link']]['url']) ? $siteLinks[$row['menu_link']]['url'] : $row['menu_link'] ?>"><?=$row['menu_title']?></a></li>
						<?php endif; endforeach; ?>
						<!--<li><a href="{LINK_SERVICES}">{NAVBAR_SERVICES}</a></li>

						<li><a href="{LINK_LOGIN}">{NAVBAR_LOGIN}</a></li>

						<li><a href="{LINK_REGISTER}">{NAVBAR_REGISTER}</a></li>-->

					</ul>

				</div>

				<div class="modal-footer">

					<button type="button" class="btn btn-secondary" data-dismiss="modal">Kapat</button>

				</div>

			</div>

		</div>

	</div>
      <?= htmlspecialchars_decode($settings['footer_code']); ?>
      <script type="text/javascript">
         var messages = {
         
             UNKNOWN_ERROR: "{UNKNOWN_ERROR}",
         
             PROCESS_ERROR: "{PROCESS_ERROR}"
         
         };
         
      </script>
      <script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
      <script src="<?= theme("assets/kits/bootstrap/js/bootstrap.bundle.min.js"); ?>"></script>
      <script src="<?= theme("assets/js/main.js"); ?>"></script>
      <script src="<?= public_url("system/js/bootstrap-datepicker.min.js"); ?>"></script>
      <script src="<?= public_url("system/js/alertify.js"); ?>?v=<?= time() ?>"></script>
      <script src="<?= public_url("system/js/main.js"); ?>"></script>
   </body>
</html>
<?php endif; ?>