ikinci temizlik tamamlandı
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
use App\Contents;
|
||||
|
||||
use Illuminate\Support\Facades\DB;
|
||||
|
||||
$p = $request->all();
|
||||
|
||||
if(isset($p['contents'])) {
|
||||
|
||||
$id = $p['kid'];
|
||||
|
||||
print_R($p['contents']);
|
||||
|
||||
print_R($p['type']);
|
||||
|
||||
$breadcrumb = Contents::getBreadcrumbs($id,"{title} / ");
|
||||
|
||||
$tree = Contents::getTree($id);
|
||||
|
||||
$c = Contents::where("slug",$id)->first();
|
||||
|
||||
|
||||
|
||||
foreach($p['contents'] AS $title) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user