This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
window.gdprText = { | |
"disclaimer_txt_main": "By continuing to use this site, you agree to the use of cookies. You can change this and find our more through our Privacy policy", | |
"disclaimer_txt_link": "More info", | |
"disclaimer_link": "/privacy-policy/", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<blockquote class="instagram-media" data-instgrm-captioned data-instgrm-permalink="https://www.instagram.com/p/BdSbviDgPbg/" data-instgrm-version="8" style=" background:#FFF; border:0; border-radius:3px; box-shadow:0 0 1px 0 rgba(0,0,0,0.5),0 1px 10px 0 rgba(0,0,0,0.15); margin: 1px; max-width:658px; padding:0; width:99.375%; width:-webkit-calc(100% - 2px); width:calc(100% - 2px);"><div style="padding:8px;"> <div style=" background:#F8F8F8; line-height:0; margin-top:40px; padding:50.0% 0; text-align:center; width:100%;"> <div style=" background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAMAAAApWqozAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAMUExURczMzPf399fX1+bm5mzY9AMAAADiSURBVDjLvZXbEsMgCES5/P8/t9FuRVCRmU73JWlzosgSIIZURCjo/ad+EQJJB4Hv8BFt+IDpQoCx1wjOSBFhh2XssxEIYn3ulI/6MNReE07UIWJEv8UEOWDS88LY97kqyTliJKKtuYBbruAyVh5wOHiXmpi5we58Ek028czwyuQdLKPG1Bkb4NnM+VeAnfHqn1k4+GPT6uGQcvu2h2OVuIf/gWUFyy8OWEpdyZSa3aVCqpVoVvzZZ2VTnn2wU8qzVjDDetO90GSy9mVLqtgYSy231MxrY6I2gGqjrTY0L8fxCxfCBbhWrsYYAAAAAElFTkSuQmC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// define( 'WP_DEBUG', true ); | |
// define( 'WP_DEBUG_DISPLAY', true ); | |
// @ini_set( 'display_errors', 'On' ); | |
// @error_reporting('E_ALL'); | |
/** | |
* Created by PhpStorm. | |
* User: KirillROCKS | |
* Date: 28-Sep-16 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Adds Foo_Widget widget. | |
*/ | |
class Brand_Data extends WP_Widget { | |
/** | |
* Register widget with WordPress. | |
*/ | |
function __construct() { | |
parent::__construct( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#### Links #### | |
* wp-json/cjra/v1/posts | |
* wp-json/cjra/v1/videos | |
#### Header #### | |
Authorization: DEVICE_ID |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#### Links #### | |
* wp-json/cjra/v1/posts | |
* wp-json/cjra/v1/videos | |
#### Arguments #### | |
* offset | |
* per_page (default 10) | |
* category (ID of categories for posts) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'wp_ajax_nopriv_cj_generate_reset_link', 'cj_generate_reset_link' ); | |
function cj_generate_reset_link(){ | |
if ( wp_verify_nonce( $_POST['nonce'], 'ajax-forgot-nonce' ) ) { | |
echo cj_retrieve_password($_POST['email']); | |
} | |
exit(); | |
} | |
function cj_retrieve_password($user_login) { | |
global $wpdb, $wp_hasher; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Created by CODEJA. | |
* User: kirillrocks | |
* Date: 27-Aug-17 | |
* Time: 15:12 | |
*/ | |
/** CONSTANTS NORMAL **/ | |
$selected_width = 5; // taken from selection by the user |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Created by CODEJA. | |
* User: kirillrocks | |
* Date: 27-Aug-17 | |
* Time: 15:12 | |
*/ | |
/** CONSTANTS NORMAL **/ | |
$selected_width = 5; // taken from selection by the user |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Created by CODEJA. | |
* User: kirillrocks | |
* Date: 27-Aug-17 | |
* Time: 15:12 | |
*/ | |
/** CONSTANTS FOR NORMAL PAPER **/ | |
$selected_width = 5; // taken from selection by the user |