|
|
| خط ۱: |
خط ۱: |
| <div style="border:1px solid #ddd; border-radius:8px; overflow:hidden; margin:10px 0;"> | | <div style="border:1px solid #ccc; border-radius:8px; padding:10px; background:#f9f9f9;"> |
| <!-- تبها --> | | <strong>📚 مقالات:</strong><br/> |
| <div style="display:flex; background:#f8f9fa; border-bottom:1px solid #ddd;"> | | <categorytree mode="all" hideroot="true">مقالات</categorytree> |
| <span style="flex:1; text-align:center; padding:12px; background:#28a745; color:white; font-weight:bold; cursor:pointer;" onclick="this.parentNode.parentNode.children[1].children[0].style.display='block'; this.parentNode.parentNode.children[1].children[1].style.display='none'; this.parentNode.parentNode.children[1].children[2].style.display='none'; this.parentNode.parentNode.children[1].children[3].style.display='none'; this.style.background='#28a745'; this.style.color='white'; this.parentNode.children[1].style.background='#f8f9fa'; this.parentNode.children[1].style.color='#333'; this.parentNode.children[2].style.background='#f8f9fa'; this.parentNode.children[2].style.color='#333'; this.parentNode.children[3].style.background='#f8f9fa'; this.parentNode.children[3].style.color='#333';">{{{1}}}</span> | |
|
| |
|
| <span style="flex:1; text-align:center; padding:12px; background:#f8f9fa; color:#333; cursor:pointer;" onclick="this.parentNode.parentNode.children[1].children[0].style.display='none'; this.parentNode.parentNode.children[1].children[1].style.display='block'; this.parentNode.parentNode.children[1].children[2].style.display='none'; this.parentNode.parentNode.children[1].children[3].style.display='none'; this.style.background='#28a745'; this.style.color='white'; this.parentNode.children[0].style.background='#f8f9fa'; this.parentNode.children[0].style.color='#333'; this.parentNode.children[2].style.background='#f8f9fa'; this.parentNode.children[2].style.color='#333'; this.parentNode.children[3].style.background='#f8f9fa'; this.parentNode.children[3].style.color='#333';">{{{2}}}</span> | | <strong>📢 اخبار:</strong><br/> |
| | <categorytree mode="all" hideroot="true">اخبار</categorytree> |
|
| |
|
| <span style="flex:1; text-align:center; padding:12px; background:#f8f9fa; color:#333; cursor:pointer;" onclick="this.parentNode.parentNode.children[1].children[0].style.display='none'; this.parentNode.parentNode.children[1].children[1].style.display='none'; this.parentNode.parentNode.children[1].children[2].style.display='block'; this.parentNode.parentNode.children[1].children[3].style.display='none'; this.style.background='#28a745'; this.style.color='white'; this.parentNode.children[0].style.background='#f8f9fa'; this.parentNode.children[0].style.color='#333'; this.parentNode.children[1].style.background='#f8f9fa'; this.parentNode.children[1].style.color='#333'; this.parentNode.children[3].style.background='#f8f9fa'; this.parentNode.children[3].style.color='#333';">{{{3}}}</span> | | <strong>🎓 آموزش:</strong><br/> |
| | <categorytree mode="all" hideroot="true">آموزش</categorytree> |
|
| |
|
| <span style="flex:1; text-align:center; padding:12px; background:#f8f9fa; color:#333; cursor:pointer;" onclick="this.parentNode.parentNode.children[1].children[0].style.display='none'; this.parentNode.parentNode.children[1].children[1].style.display='none'; this.parentNode.parentNode.children[1].children[2].style.display='none'; this.parentNode.parentNode.children[1].children[3].style.display='block'; this.style.background='#28a745'; this.style.color='white'; this.parentNode.children[0].style.background='#f8f9fa'; this.parentNode.children[0].style.color='#333'; this.parentNode.children[1].style.background='#f8f9fa'; this.parentNode.children[1].style.color='#333'; this.parentNode.children[2].style.background='#f8f9fa'; this.parentNode.children[2].style.color='#333';">{{{4}}}</span> | | <strong>📁 پروژهها:</strong><br/> |
| </div>
| | <categorytree mode="all" hideroot="true">پروژهها</categorytree> |
| | |
| <!-- محتوا -->
| |
| <div>
| |
| <div style="padding:15px; display:block;">
| |
| <categorytree mode="all" hideroot="true">{{{1}}}</categorytree>
| |
| </div> | |
| <div style="padding:15px; display:none;">
| |
| <categorytree mode="all" hideroot="true">{{{2}}}</categorytree> | |
| </div>
| |
| <div style="padding:15px; display:none;">
| |
| <categorytree mode="all" hideroot="true">{{{3}}}</categorytree>
| |
| </div>
| |
| <div style="padding:15px; display:none;">
| |
| <categorytree mode="all" hideroot="true">{{{4}}}</categorytree>
| |
| </div>
| |
| </div>
| |
| </div> | | </div> |