Skip to content

Instantly share code, notes, and snippets.

View .css
.showcase_item__3 h3 {
  text-transform: none;
  font-size: 60px;
  color: #b5003e;
}
View .css
.showcase_item__3 h3 {
  text-transform: none;
  font-size: 60px;
  color: #3c3c3c;
}
View .css
.gallery-item .btn {
background: none;
box-shadow: none;
}
View .php
  <!--<div class="more_wrapper">
      <div class="vert-align">
  <a class="btn btn-info item_more" href="<?php echo $link; ?>"><span>
    <?php if (!$params->get('access-view')) :
    echo JText::_('COM_CONTENT_REGISTER_TO_READ_MORE');
    elseif ($readmore = $this->item->alternative_readmore) :
    echo $readmore;
    if ($params->get('show_readmore_title', 0) != 0) :
    echo JHtml::_('string.truncate', ($this->item->title), $params->get('readmore_limit'));
    endif;
View .php
<a class="btn btn-info item_more" href="<?php echo $link; ?>"><img src="<?php echo JURI::base().htmlspecialchars($images->image_intro); ?>" alt="<?php echo htmlspecialchars($images->image_intro_alt); ?>"> </a>
View .php
<img src="<?php echo JURI::base().htmlspecialchars($images->image_intro); ?>" alt="<?php echo htmlspecialchars($images->image_intro_alt); ?>">
View .sql
-- Sync menutype for admin menu and set client_id correct
UPDATE `#_menu` SET `menutype` = 'main', `client_id` = 1 WHERE `menutype` = 'main' OR `menutype` = 'menu';
View SG_offer.html
<h4>Ищете надежного хостинг провайдера? Мы рекомендуем SiteGround!</h4>
<p style="text-align:center;">
<a target="_blank" href="https://goo.gl/VyS3yQ"><img src="https://www.templatemonster.com/help/wp-content/uploads/2018/01/SG_banner.png" alt="SiteGround Hosting">
</a>
</p>
<h5 style="text-align:center;"><strong>Платформа с высокой производительностью, подходящая для проектов любой величины</strong></h5>
View .php
include_once ('includes/includes.php');
require_once ('includes/Mobile_Detect.php');
View .php
include_once (‘includes’ . DS . ‘includes.php’);
require_once ‘includes’ . DS . ‘Mobile_Detect.php’;