Priority File Manager
📁 public_html
Base Directory:
/home/ecedu/public_html
/home/ecedu/public_html/wp-content/plugins
/home/ecedu/public_html/wp-content
/home/ecedu
/var/www
/var/www/cgi-bin
/var/www/html
public_html
/
new
/
Views
/
layouts
/home/ecedu/public_html/new/Views/layouts
Name
Type
Size
Actions
📁
..
Folder
-
Delete
Rename
📄
aboutus-layout.php
File
1676
Delete
Rename
Edit
Download
📄
article-layout.php
File
22554
Delete
Rename
Edit
Download
📄
back-top.php
File
706
Delete
Rename
Edit
Download
📄
body-layout.php
File
1313
Delete
Rename
Edit
Download
📄
contactus-layout.php
File
4025
Delete
Rename
Edit
Download
📄
department-layout.php
File
3736
Delete
Rename
Edit
Download
📄
footer-layout.php
File
5862
Delete
Rename
Edit
Download
📄
header-layout.php
File
451
Delete
Rename
Edit
Download
📄
header-second.php
File
827
Delete
Rename
Edit
Download
📄
index-layout.php
File
4027
Delete
Rename
Edit
Download
📄
list-languages.php
File
5393
Delete
Rename
Edit
Download
📄
list-news-layout.php
File
6488
Delete
Rename
Edit
Download
📄
list-pdf-layout.php
File
4459
Delete
Rename
Edit
Download
📄
main-func.php
File
59071
Delete
Rename
Edit
Download
📄
main-layout.php
File
8313
Delete
Rename
Edit
Download
📄
main-menu.php
File
3613
Delete
Rename
Edit
Download
📄
mobile-menu.php
File
5453
Delete
Rename
Edit
Download
📄
mobile-side.php
File
14998
Delete
Rename
Edit
Download
📄
pdf-layout.php
File
3
Delete
Rename
Edit
Download
📄
right_sidebar.php
File
3970
Delete
Rename
Edit
Download
📄
search-layout.php
File
5408
Delete
Rename
Edit
Download
📄
top-menu.php
File
1175
Delete
Rename
Edit
Download
📄
top_slider.php
File
2320
Delete
Rename
Edit
Download
Upload
Create Folder
📝 Editing:
list-languages.php
Size: 5,393 bytes
Lines: 109
Type: .php
💾 Save
Cancel
✕
<!-- Language switcher --> <li class="nav-item dropdown"> <a class="nav-link dropdown-toggle d-inline-flex align-items-center" href="#" onclick="event.preventDefault();" id="langDropdown" data-bs-toggle="dropdown" aria-expanded="false"> <?php if($lang === 'ar'): ?> <!-- علم العراق --> <svg xmlns="http://www.w3.org/2000/svg" width="20" viewBox="0 0 640 480" class="me-2"> <g fill-rule="evenodd"> <path fill="#ce1126" d="M0 0h640v160H0z"/> <path fill="#ffffff" d="M0 160h640v160H0z"/> <path fill="#000000" d="M0 320h640v160H0z"/> </g> <text x="50%" y="275" text-anchor="middle" font-size="90" fill="#007a3d" font-family="Arial, sans-serif" style="font-weight:bold;"> الله أكبر </text> </svg> <?php elseif($lang === 'ku'): ?> <!-- علم كردستان --> <svg xmlns="http://www.w3.org/2000/svg" width="20" viewBox="0 0 640 480" class="me-2"> <path fill="#ff0000" d="M0 0h640v160H0z"/> <path fill="#fff" d="M0 160h640v160H0z"/> <path fill="#009e49" d="M0 320h640v160H0z"/> <circle fill="#ffcc00" cx="320" cy="240" r="50"/> </svg> <?php else: ?> <!-- علم بريطانيا --> <svg xmlns="http://www.w3.org/2000/svg" width="20" viewBox="0 0 60 30" class="me-2"> <clipPath id="t"> <path d="M0,0 v30 h60 v-30 z"/> </clipPath> <g clip-path="url(#t)"> <path d="M0,0 v30 h60 v-30 z" fill="#012169"/> <path d="M0,0 L60,30 M60,0 L0,30" stroke="#fff" stroke-width="6"/> <path d="M0,0 L60,30 M60,0 L0,30" stroke="#c8102e" stroke-width="4" stroke-dasharray="10,10"/> <path d="M30,0 v30 M0,15 h60" stroke="#fff" stroke-width="10"/> <path d="M30,0 v30 M0,15 h60" stroke="#c8102e" stroke-width="6"/> </g> </svg> <?php endif; ?> <span class="fw-semibold"><?= $currentLangName; ?></span> </a> <?php // إعداد روابط اللغات مع الاحتفاظ بجميع البارامترات الأخرى $params = $_GET; $params_ar = $params_ku = $params_en = $params; $params_ar['lang'] = 'ar'; $params_ku['lang'] = 'ku'; $params_en['lang'] = 'en'; $url_ar = $_SERVER['PHP_SELF'] . '?' . http_build_query($params_ar); $url_ku = $_SERVER['PHP_SELF'] . '?' . http_build_query($params_ku); $url_en = $_SERVER['PHP_SELF'] . '?' . http_build_query($params_en); ?> <ul class="dropdown-menu dropdown-menu-end shadow-sm text-start" aria-labelledby="langDropdown"> <!-- Arabic --> <li> <a class="dropdown-item d-flex align-items-center <?= $lang==='ar'?'active':''; ?>" href="<?= $url_ar ?>"> <svg xmlns="http://www.w3.org/2000/svg" width="20" viewBox="0 0 640 480" class="me-2"> <g fill-rule="evenodd"> <path fill="#ce1126" d="M0 0h640v160H0z"/> <path fill="#ffffff" d="M0 160h640v160H0z"/> <path fill="#000000" d="M0 320h640v160H0z"/> </g> <text x="50%" y="275" text-anchor="middle" font-size="90" fill="#007a3d" font-family="Arial, sans-serif" style="font-weight:bold;"> الله أكبر </text> </svg> عربي </a> </li> <!-- Kurdish --> <li> <a class="dropdown-item d-flex align-items-center <?= $lang==='ku'?'active':''; ?>" href="<?= $url_ku ?>"> <svg xmlns="http://www.w3.org/2000/svg" width="20" viewBox="0 0 640 480" class="me-2"> <path fill="#ff0000" d="M0 0h640v160H0z"/> <path fill="#fff" d="M0 160h640v160H0z"/> <path fill="#009e49" d="M0 320h640v160H0z"/> <circle fill="#ffcc00" cx="320" cy="240" r="50"/> </svg> کوردی </a> </li> <!-- English --> <li> <a class="dropdown-item d-flex align-items-center <?= $lang==='en'?'active':''; ?>" href="<?= $url_en ?>"> <svg xmlns="http://www.w3.org/2000/svg" width="20" viewBox="0 0 60 30" class="me-2"> <clipPath id="t"> <path d="M0,0 v30 h60 v-30 z"/> </clipPath> <g clip-path="url(#t)"> <path d="M0,0 v30 h60 v-30 z" fill="#012169"/> <path d="M0,0 L60,30 M60,0 L0,30" stroke="#fff" stroke-width="6"/> <path d="M0,0 L60,30 M60,0 L0,30" stroke="#c8102e" stroke-width="4" stroke-dasharray="10,10"/> <path d="M30,0 v30 M0,15 h60" stroke="#fff" stroke-width="10"/> <path d="M30,0 v30 M0,15 h60" stroke="#c8102e" stroke-width="6"/> </g> </svg> English </a> </li> </ul> </li>
✅ File saved successfully!