This file contains hidden or 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
--- CHUNK 1 START --- | |
[ | |
{ | |
"id": 185, | |
"title": " \n tarixin ən böyük umbaylamaları ", | |
"content": "1998-ci ildə bir fransız bəsit formada intihar etmək yerinə, mürəkkəb və yardıcı üsula əl atır. dəniz sahilində yüksək bir uçurumun başına çıxıb boynuna ip keçirir, ipi də bir qayaya bağlayır. ardından zəhər içir və özünü yandırır. amma yenə də dayanmır, uçurumdan tullanarkən özünü tapança ilə başından vurur! aa, o da nədir?! güllə ondan yan keçir və kəndiri kəsir, nəticədə adam dənizə düşəndə qayadan asılı qalmır və boğulmaq planı da \"suya düşür\". soyuq su yanan paltarını nəinki söndürür, üstünə üstlük həm də adamı şoka salır və adam udduğu zəhəri qusur. bir balıqçı tərəfindən sudan çıxarılaraq xəstəxanaya aparılan adam hipotermiya səbəbindən xəstəxanada ən ali arzusuna qovuşur və canını tapşırır." | |
}, | |
{ | |
"id": 186, | |
"title": " \n tarixin ən böyük umbaylamaları ", |
This file contains hidden or 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 | |
namespace App\Models; | |
use App\Database\EloquentModel as Model; | |
class Payment extends Model | |
{ | |
protected $fillable = ['order_id', 'session_id', 'currency', 'order_status', 'order_description', 'amount', 'payment_url', 'status_code','order_check_status','language_code']; |
This file contains hidden or 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 | |
namespace App\Traits; | |
use App\Models\Elan; | |
use App\Models\ElanField; | |
use Exception; | |
use Illuminate\Http\Request; | |
use Illuminate\Support\Facades\File; | |
use Illuminate\Support\Facades\Response; |
This file contains hidden or 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
function slider_get_meta( $value ) { | |
global $post; | |
$field = get_post_meta( $post->ID, $value, true ); | |
if ( ! empty( $field ) ) { | |
return is_array( $field ) ? stripslashes_deep( $field ) : stripslashes( wp_kses_decode_entities( $field ) ); | |
} else { | |
return false; | |
} | |
} |
This file contains hidden or 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 | |
use App\Models\Region; | |
use Illuminate\Database\Seeder; | |
use Illuminate\Support\Facades\DB; | |
class RegionsSeeder extends Seeder | |
{ | |
/** | |
* Run the database seeds. |
This file contains hidden or 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 type="text/javascript"> | |
$( document ).ready(function() { | |
$( "#elan_form" ).validate({ | |
//errorClass: '', | |
errorElement: "div", | |
errorPlacement: function ( error, element ) { | |
// Add the `help-block` class to the error element | |
error.addClass( "invalid-feedback" ); | |
if ( element.prop( "type" ) === "checkbox" ) { |
This file contains hidden or 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 | |
class My_Walker_Nav_Menu extends Walker_Nav_Menu { | |
function start_lvl(&$output, $depth = 0, $args = array()) { | |
$indent = str_repeat("\t", $depth); | |
$output .= "\n$indent<ul class=\"dropdown-menu\">\n"; | |
} |
This file contains hidden or 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 | |
$city_id=37864; // id şəhər | |
$data_file="http://export.yandex.ru/weather-ng/forecasts/$city_id.xml"; // xml fayl ünvanı | |
$xml = simplexml_load_file($data_file); | |
// lazım olan parametrləri seçirik (Şəhər, tempratur) | |
$temp=$xml->fact->temperature; |
This file contains hidden or 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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>DLE-də menu üzərinə active class əlavə etmək</title> | |
<script type="text/javascript"> | |
$(function () { | |
$('.navigation a').each(function () { | |
var location = window.location.href | |
var link = this.href |
NewerOlder