Captcha ile ilgili 2 tane .ctp dosyası var. 1.si
<?php
$this->assign('title', get_option('site_name'));
$this->assign('description', get_option('description'));
$this->assign('content_title', get_option('site_name'));
$this->assign('og_title', $link->title);
$this->assign('og_description', $link->description);
$this->assign('og_image', $link->image);
?>
<?php $this->start('scriptTop'); ?>
<script type="text/javascript">
if (window.self !== window.top) {
window.top.location.href = window.location.href;
}
</script>
<?php $this->end(); ?>
<div class="box-main">
<?php if (!empty($captcha_ad)) : ?>
<div class="banner banner-captcha">
<div class="banner-inner">
<?= $captcha_ad; ?>
</div>
</div>
<?php endif; ?>
<?php if($post): ?>
<div class="blog-item">
<div class="page-header">
<h3><small><a href="<?= build_main_domain_url('/blog') ?>"><?= __('From Our Blog') ?>:</a></small> <?= h($post->title) ?></h3>
</div>
<div class="blog-content"><?= $post->description ?></div>
</div>
<?php endif; ?>
<?php
$col_num = 6;
$table_row = 'is-table-row';
$hidden_class = '';
if (empty($link->image) && empty($link->title) && empty($link->description)) {
$col_num = 12;
$table_row = '';
$hidden_class = 'hidden';
}
if (get_option('short_link_content', 'no') === 'no') {
$col_num = 12;
$table_row = '';
$hidden_class = 'hidden';
}
?>
<div class="row <?= $table_row ?>">
<div class="col-md-<?= $col_num ?> <?= $hidden_class ?>">
<?php if (get_option('short_link_content', 'no') === 'yes') : ?>
<div class="link-details">
<div class="panel panel-default">
<div class="panel-body">
<img class="link-image" src="<?= h($link->image) ?>"/>
<h4 class="link-title"><?= h($link->title) ?></h4>
<p class="link-description"><?= h($link->description) ?></p>
</div>
</div>
</div>
<?php endif; ?>
</div>
<div class="col-md-<?= $col_num ?>">
<?= $this->Flash->render() ?>
<?= $this->Form->create(null, ['id' => 'link-view']); ?>
<p style="font-size: 17px;">
<?= __('Please check the captcha box to proceed to the destination page.') ?>
</p>
<?= $this->Form->hidden('ref', ['value' => strtolower(env('HTTP_REFERER'))]); ?>
<?= $this->Form->hidden('f_n', ['value' => 'slc']); ?>
<div class="form-group text-center">
<div id="captchaShortlink" style="display: inline-block;"></div>
</div>
<?= $this->Form->button(__('Click here to continue'), [
'class' => 'btn btn-primary btn-captcha',
'id' => 'invisibleCaptchaShortlink'
]); ?>
<?= $this->Form->end() ?>
</div>
</div>
</div>
<div class="text-left">
<h3><?= __('What is {0}?', h(get_option('site_name'))) ?></h3>
<p><?= __(
'{0} is a completely free tool where you can create short links, which apart from being '.
'free, you get paid! So, now you can make money from home, when managing and protecting your links. '.
'Register now!',
h(get_option('site_name'))
) ?></p>
<h3><?= __('Shorten URLs and earn money') ?></h3>
<p><?= __("Signup for an account in just 2 minutes. Once you've completed your registration just start '.
'creating short URLs and sharing the links with your family and friends.") ?></p>
</div>2.si
<?php
/**
* @var AppViewAppView $this
*/
?>
<!DOCTYPE html>
<html lang="<?= locale_get_primary_language(null) ?>">
<head>
<meta name="robots" content="noindex, nofollow">
<meta name="og:title" content="<?= h($this->fetch('og_title')); ?>">
<meta name="og:description" content="<?= h($this->fetch('og_description')); ?>">
<meta property="og:image" content="<?= h($this->fetch('og_image')); ?>"/>
<?= $this->element('front_head'); ?>
</head>
<body class="captcha-page">
<?= get_option('after_body_tag_code'); ?>
<!-- Navigation -->
<nav id="mainNav" class="navbar navbar-default">
<div class="container">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header page-scroll">
<button type="button" class="navbar-toggle" data-toggle="collapse"
data-target="#bs-example-navbar-collapse-1">
<span class="sr-only"><?= __('Toggle navigation') ?></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<?php
$logo = get_logo();
$class = '';
if ($logo['type'] == 'image') {
$class = 'logo-image';
}
?>
<a class="navbar-brand <?= $class ?>" href="<?= build_main_domain_url('/'); ?>"><?= $logo['content'] ?></a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<?php if (get_option('enable_advertising', 'yes') == 'yes') : ?>
<li>
<a href="<?= build_main_domain_url('/advertising-rates'); ?>"><?= __('Advertising') ?></a>
</li>
<?php endif; ?>
<li>
<a href="<?= build_main_domain_url('/payout-rates'); ?>"><?= __('Payout Rates') ?></a>
</li>
<?php if (count(get_site_languages(true)) > 1) : ?>
<li class="dropdown language-selector">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
aria-expanded="false"><i class="fa fa-language"></i> <span class="caret"></span></a>
<ul class="dropdown-menu">
<?php foreach (get_site_languages(true) as $lang) : ?>
<li>
<?= $this->Html->link(
locale_get_display_name($lang, $lang),
'/' . $this->request->url . '?lang=' . $lang
); ?>
</li>
<?php endforeach; ?>
</ul>
</li>
<?php endif; ?>
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container-fluid -->
</nav>
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<?= $this->fetch('content') ?>
</div>
</div>
</div>
<?= $this->element('front_footer'); ?>
</body>
</html>