-
المساهمات
386 -
تاريخ الانضمام
-
تاريخ آخر زيارة
-
عدد الأيام التي تصدر بها
1
نوع المحتوى
ريادة الأعمال
البرمجة
التصميم
DevOps
التسويق والمبيعات
العمل الحر
البرامج والتطبيقات
آخر التحديثات
قصص نجاح
أسئلة وأجوبة
كتب
دورات
كل منشورات العضو ايمن ميلاد
-
هل يمكن تكون مشكلة في برنامج msi dragon center يشتغل في وضع gaming mode وانا لاستخدام العاب اصلا يستهلك طاقة بدون ان استخدمه
-
-
قمت بالمعايرة امس عن طريق msi dragon بحيث شحن ل 100% ثم فرغت بطارية واليوم نفس مشكلة هل مشكلة في مرواحة لانه تعمل في صوت رغم تنظيفه وتركيب معجون جديد
-
قمت بالمعايرة امس عن طريق msi dragon بحيث شحن ل 100% ثم فرغت بطارية واليوم نفس مشكلة
-
انطفي جهاز الان عن نسبة شاحن 38%
-
لا عند تشغيله تظهر نسبة الشحن التي اقفل عليه ولايعمل الي من خلال الشاحن بعد قفل مفاجئ
-
امس شهدت مقطع نفسه 5% 5% الذي قلته انته اخي محمد 5% لم يتغير الان جربت امر اخي مصطفي في انتظار ماذا يحدث
-
- 15 اجابة
-
- 1
-
-
ماذا افعل بعد تنفيد امر powercfg -restoredefaultschemes هل استخدم جهاز بدون شحن لاعرف هل ينطفي او لا
- 15 اجابة
-
- 1
-
-
السلام عليكم ورحمة الله وبركاته لدي جهاز msigf63 عندما يصل شحن 45% ينطفي لكن عندما يكون في شحن لا ينطفي غيريت بطارية لاب توب ونظفت مرواحه وغيرت معجون لازالت نفس مشكلة ما الحل للعلم لازال صوت مروحه مستمر
- 15 اجابة
-
- 2
-
-
اخ محمد عاطف قام بحل مشكلة نحن في انتظار شرح منه ماهي
-
اخي محمد بعد حل مشكلة ممكن تكتب خطوات بالضبط عشان كل يستفيذ بارك الله فيك
-
تقصد هكدا Route::post('Department', [DepartmentController::class, 'store'])->name('Department.store'); public function store(Request $request) { $department = new Department(); $department->Name_dept = $request->input('name'); $department->save(); return redirect()->route('Department.index'); } <form action="{{ route('Department.index') }}" method="post"> @csrf <div class="form-group"> <label for="name">اسم القسم</label> <input type="text" name="name" id="name" class="form-control"> </div> <div class="form-group"> <button type="submit" class="btn btn-primary">حفظ</button> </div> </form> تظهر مشكلة لازالت
- 10 اجابة
-
- 1
-
-
يعني تقصد form تصبح هكذا <form action="{{ route('Department.store') }}" method="post"> @csrf <div class="form-group"> <label for="Name_dept">اسم القسم</label> <input type="text" name="Name_dept" id="Name_dept" class="form-control"> </div> <div class="form-group"> <button type="submit" class="btn btn-primary">حفظ</button> </div> </form> وكود حفظ يصبح هكدا public function store(Request $request) { $department = new Department(); $department->Name_dept = $request->input('name'); $department->save(); echo "تم حفظ "; }
- 10 اجابة
-
- 1
-
-
السلام عليكم عندما اضغط علي زر حفظ تظهر صفحة PAGE EXPIRED اكواد المستخدمة لدي <?php namespace App\Http\Controllers; use App\Models\Department; use Illuminate\Http\Request; class DepartmentController extends Controller { public function index() { $departments = Department::all(); return view('Department.index', compact('departments')); } public function show() {} public function create() { return view('Department.create'); } public function store(Request $request) { $department = new Department(); $department->Name_dept = $request->input('name'); $department->save(); return redirect()->route('Department.index'); } public function edit($id) { return view('Department.edit'); } public function update($id) {} public function destroy($id) {} } <?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Department extends Model { protected $fillable=[ 'Name_dept', ] ; } @extends('layouts.master') @section('title') الاقسام @stop @section('css') <style> .form-group { display: flex; flex-direction: column; align-items: center; margin-top: 20px; } #name { width: 50%; } </style> @stop @section('title_page1') الاقسام @stop @section('title_page2') اضافة قسم @stop @section('content') <form action="{{ route('Department.index') }}" method="post"> @csrf <div class="form-group"> <label for="name">اسم القسم</label> <input type="text" name="name" id="name" class="form-control"> </div> <div class="form-group"> <button type="submit" class="btn btn-primary">حفظ</button> </div> </form> @stop @section('scripts') @stop @extends('layouts.master'); @section('title') الاقسام @stop @section('css') @stop @section('title_page1') لوحة التحكم @stop @section('title_page2') الأقسام @stop @section('content') <div class="box"> <div class="box-header"> <h4> <a href="/Department/create">إضافة قسم</a></h4> </div> <!-- /.box-header --> <div class="box-body no-padding"> <table class="table direction table-striped"> <th>#</th> <th>اسم القسم</th> <th>تاريخ الانشاء</th> @foreach ($departments as $index => $department) <tr> <td>{{ $department->id_dept }}</td> {{-- <td>{{ $department->Name_dept }}</td> --}} <td><a href="/department/<?= $department->id_dept ?>"><?= $department->Name_dept ?></a></td> <td>{{ $department->created_at }}</td> </tr> @endforeach </table> </div> <!-- /.box-body --> </div> @endsection @section('scripts') @stop ممكن حل مشكلة
- 10 اجابة
-
- 1
-
-
لزالت تظهر صفحةاثناء حفظ بيانات
-
لازالت نفس مشكلة <?php use App\Http\Controllers\DepartmentController; use Illuminate\Support\Facades\Route; Route::get('/', function () { return view('welcome'); })->name('/'); Route::get('/Department', [DepartmentController::class, 'index'])->name('Department'); Route::get('Department/create', [DepartmentController::class, 'create']); Route::get('Department/{id}', [DepartmentController::class, 'show']); Route::post('Department', [DepartmentController::class, 'store']); Route::get('Department/{id}/edit', [DepartmentController::class, 'edit']); Route::put('Department/{id}', [DepartmentController::class, 'update']); Route::delete('Department/{id}', [DepartmentController::class, 'destroy']); للعلم مجلد وداخله صفحة index <?php namespace App\Http\Controllers; use App\Models\Department; use Illuminate\Http\Request; class DepartmentController extends Controller { public function index() { $departments = Department::all(); return view('department.index', compact('departments')); } public function show() {} public function create() { return view('department.create'); } public function store(Request $request) { $department = new Department(); $department->Name_dept = $request->input('name'); $department->save(); return redirect()->route('Department.index'); } public function edit($id) { return view('department.edit'); } public function update($id) {} public function destroy($id) {} } @extends('layouts.master') @section('title') الاقسام @stop @section('css') <style> .form-group { display: flex; flex-direction: column; align-items: center; margin-top: 20px; } #name { width: 50%; } </style> @stop @section('title_page1') الاقسام @stop @section('title_page2') اضافة قسم @stop @section('content') <form action="/Department" method="post"> @csrf <div class="form-group"> <label for="name">اسم القسم</label> <input type="text" name="name" id="name" class="form-control"> </div> <div class="form-group"> <button class="btn btn-primary">حفظ</button> </div> </form> @stop @section('scripts') @stop
-
لازالت تظهر مشكلة <?php use App\Http\Controllers\DepartmentController; use Illuminate\Support\Facades\Route; Route::get('/', function () { return view('welcome'); })->name('/'); Route::get('/Department', [DepartmentController::class, 'index'])->name('Department'); Route::get('Department/create', [DepartmentController::class, 'create']); Route::get('Department/{id}', [DepartmentController::class, 'show']); Route::post('Department', [DepartmentController::class, 'store']); Route::get('Department/{id}/edit', [DepartmentController::class, 'edit']); Route::put('Department/{id}', [DepartmentController::class, 'update']); Route::delete('Department/{id}', [DepartmentController::class, 'destroy']); <?php namespace App\Http\Controllers; use App\Models\Department; use Illuminate\Http\Request; class DepartmentController extends Controller { public function index() { $departments = Department::all(); $deptcount=Department::count(); return view('department.index', compact('departments','deptcount')); } public function show() {} public function create() { return view('department.create'); } public function store(Request $request) { $department = new Department(); $department->Name_dept = $request->input('name'); $department->save(); return redirect()->route('Departments.index'); } public function edit($id) { return view('department.edit'); } public function update($id) {} public function destroy($id) {} } @extends('layouts.master') @section('title') الاقسام @stop @section('css') <style> .form-group { display: flex; flex-direction: column; align-items: center; margin-top: 20px; } #name { width: 50%; } </style> @stop @section('title_page1') الاقسام @stop @section('title_page2') اضافة قسم @stop @section('content') <form action="/Department" method="post"> @csrf <div class="form-group"> <label for="name">اسم القسم</label> <input type="text" name="name" id="name" class="form-control"> </div> <div class="form-group"> <button class="btn btn-primary">حفظ</button> </div> </form> @stop @section('scripts') @stop
- 16 اجابة
-
- 1
-
-
لماذا عندما ازور صفحة تظهر Page Expired @extends('layouts.master') @section('title') الاقسام @stop @section('css') <head> <meta name="csrf-token" content="{{csrf_token()}}"> </head> <style> .form-group { display: flex; flex-direction: column; align-items: center; margin-top: } #name { width: 50%; } </style> @stop @section('title_page1') الاقسام @stop @section('title_page2') اضافة قسم @stop @section('content') <form action="/Department" method="post"> <input type="hidden" name="_token" value="{{csrf_token()}}"> <div class="form-group"> <label for="name">اسم القسم</label> <input type="text" name="name" id="name" class="form-control"> </div> <div class="form-group"> <button class="btn btn-primary">حفظ</button> </div> </form> @stop @section('scripts') @stop public function store(Request $request) { $department = new Department(); $department->Name_dept = $request->input('name'); $department->save(); return redirect(); } ممكن حل مشكلة
- 16 اجابة
-
- 1
-
-
السلام عليكم لدي مشكلة اثناء زيارة صفحة تظهر فارغة Route::get('Department', [DepartmentController::class, 'index'])->name('Department'); Route::get('Department/create', [DepartmentController::class, 'create']); Route::get('Department/{id}', [DepartmentController::class, 'show']); Route::post('Department', [DepartmentController::class, 'store']); Route::get('Department/{id}/edit', [DepartmentController::class, 'edit']); Route::put('Department/{id}',[DepartmentController::class, 'update']); Route::delete('Department/{id}',[DepartmentController::class, 'destroy']); كود صفحة index @extends('layouts.master'); @section('title') الاقسام @stop @section('css') @stop @section('title_page1') لوحة التحكم @stop @section('title_page2') الأقسام @stop @section('content') <div class="box"> <div class="box-header"> <h4> <a href="/department/create">إضافة قسم</a></h4> </div> <!-- /.box-header --> <div class="box-body no-padding"> <table class="table direction table-striped"> <th>#</th> <th>اسم القسم</th> <th>تاريخ الانشاء</th> @foreach ($departments as $index => $department) <tr> <td>{{ $department->id_dept }}</td> {{-- <td>{{ $department->Name_dept }}</td> --}} <td><a href="/department/<?=$department->id_dept ?>"><?=$department->Name_dept ?></a></td> <td>{{ $department->created_at }}</td> </tr> @endforeach </table> </div> <!-- /.box-body --> </div> @endsection @section('scripts') @stop دوال داخل controller <?php namespace App\Http\Controllers; use App\Models\Department; use Illuminate\Http\Request; class DepartmentController extends Controller { public function index() { $departments = Department::all(); return view('department.index', compact('departments')); } public function show() { } public function create() { return view ('department.create'); } public function store() { } public function edit($id) { return view ('department.edit'); } public function update($id) { } public function destroy($id) { } } صفحة create @extends('layouts.master'); @section('title') الاقسام @stop @section('css') @stop @section('title_page1') الاقسام @stop @section('title_page2') اضافة قسم @stop @section('content') <form action="/Department" method="post"> <div class="form-group"> <label for="name">اسم القسم</label> <input type="text" name="name" id="name" class="form-control"> </div> <div class="form-group"> <button class="btn btn-primary">حفظ</button> </div> </form> @stop @section('scripts') @stop لماذا عندما ازور صفحة create يظهر 404
- 16 اجابة
-
- 2
-