اطلاعیه های دانشکده

اطلاعــــیه ها

اخبار و رویدادها

سخنرانی عضو هیات علمی و معاون پژوهشی دانشکدگان علوم

در حین انجام عملیات خطایی رخ داده است.
Java method "com.sun.proxy.$Proxy722.getArticle(long, String)" threw an exception when invoked on com.sun.proxy.$Proxy722 object "ir.sain.liferay.journal.internal.service.SainJournalArticleLocalServiceWrapper@4f72dd3"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign currentArticle = JournalArtic...  [in template "20097#20123#" at line 25, column 2]
----
1<#assign 
2    theme_display = themeDisplay 
3    css_folder = theme_display.getPathThemeCss() 
4    javascript_folder = theme_display.getPathThemeJavaScript() 
5/> 
6<#assign displaydate = .vars['reserved-article-display-date'].data> 
7<#assign originalLocale = .locale> 
8<#setting locale = localeUtil.getDefault()> 
9<#assign displaydate = displaydate?datetime("EEE, d MMM yyyy HH:mm:ss Z")> 
10<#assign dateFormat = "dd MM yyyy HH:mm" />  
11<#assign publishDate=dateUtil.getDate(displaydate,dateFormat,locale)/> 
12<#assign  
13    serviceContext = staticUtil["com.liferay.portal.kernel.service.ServiceContextThreadLocal"].getServiceContext() 
14    themeDisplay = serviceContext.getThemeDisplay()  
15	layoutSet = layout.getLayoutSet() 
16	page_group = layout.getGroup() 
17	site_default_url = htmlUtil.escape(page_group.getDisplayURL(themeDisplay, false)) 
18/> 
19 
20<!--publish view Count--> 
21<#assign JournalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")> 
22 <#assign assetLinkLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetLinkLocalService" )> 
23 <#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService" )> 
24 <#assign getterUtil = staticUtil["com.liferay.portal.kernel.util.GetterUtil"] /> 
25 <#assign currentArticle = JournalArticleLocalService.getArticle(getterUtil.getLong(groupId),.vars['reserved-article-id'].data)> 
26 <#assign currentArticleResourcePrimKey = currentArticle.getResourcePrimKey()> 
27 <#assign currentArticleAssetEntry = assetEntryLocalService.getEntry("com.liferay.journal.model.JournalArticle", currentArticleResourcePrimKey)/> 
28 <#assign viewCount = currentArticleAssetEntry.viewCount/> 
29<div class="news-details-page"> 
30<!-- Breakcrumb --> 
31      <section class="breadcrumb-component container"> 
32        <a href="${site_default_url}">صفحه اصلی</a> 
33        <svg data-rotate> 
34          <use xlink:href="/o/tehran-uni-theme/images/icons.svg#svg-chev-left"></use> 
35        </svg> 
36        <p>جزئیات خبر</p> 
37      </section> 
38 
39      <div id="printable"> 
40        <!-- Heading --> 
41        <section class="heading-component container"> 
42          <div class="imgs"> 
43            <img src="${.vars['reserved-article-small-image-url'].data}" /> 
44          </div> 
45          <div class="content"> 
46            <h5 class="summary">${lead.getData()}</h5> 
47            <h1 class="title"> 
48              ${.vars['reserved-article-title'].data} 
49            </h1> 
50            <!-- Info --> 
51            <div class="info"> 
52              <div class="item"> 
53                <svg width="16" height="16"> 
54                  <use xlink:href="/o/tehran-uni-theme/images/icons.svg#svg-calendar-news"></use> 
55                </svg> 
56                <p class="js-date" data-date="${publishDate} ?? DD MM YYYY HH:mm ?? DD MMMM YYYY HH:mm" >${publishDate}</p> 
57              </div> 
58              <div class="item"> 
59                <svg width="16" height="16"> 
60                  <use xlink:href="/o/tehran-uni-theme/images/icons.svg#svg-bill"></use> 
61                </svg> 
62                <p>کد خبر : ${.vars['reserved-article-id'].data}</p> 
63              </div> 
64              <div class="item"> 
65                <svg width="16" height="16"> 
66                  <use xlink:href="/o/tehran-uni-theme/images/icons.svg#svg-eye"></use> 
67                </svg> 
68                <p>تعداد بازدید : ${viewCount}</p> 
69              </div> 
70            </div> 
71            <div class="summary"> 
72                ${.vars['reserved-article-description'].data} 
73            </div> 
74          </div> 
75          <div class="first-p"> 
76            ${content.getData()} 
77          </div> 
78        </section> 
79 
80        <!-- Post --> 
81        <article class="post-component container"> 
82 
83            <#if other_images?? && other_images.getSiblings()?has_content &&  other_images.getSiblings()[0].getData() != ""> 
84                <!-- News Slider --> 
85                <div class="news-slider container"> 
86                  <div class="news-swiper swiper"> 
87                    <div class="swiper-wrapper"> 
88            	<#list other_images.getSiblings() as cur_other_images> 
89            		<#if (cur_other_images.getData())?? && cur_other_images.getData() != ""> 
90            		    <div class="swiper-slide"> 
91            			    <img alt="${cur_other_images.getAttribute("alt")}" src="${cur_other_images.getData()}" /> 
92            			</div> 
93            		</#if> 
94            	</#list> 
95                  </div> 
96                      <div class="swiper-next-btn"> 
97                          <svg> 
98                            <use xlink:href="/o/tehran-uni-theme/images/icons.svg#svg-arrow-news-left"></use> 
99                          </svg> 
100                        </div> 
101                        <div class="swiper-prev-btn"> 
102                          <svg> 
103                            <use xlink:href="/o/tehran-uni-theme/images/icons.svg#svg-arrow-news-right"></use> 
104                          </svg> 
105                        </div> 
106                    </div> 
107              </div> 
108              <script> 
109                var newsSlider = new Swiper('.news-swiper', { 
110                  slidesPerView: 1, 
111                  spaceBetween: 12, 
112                  loop: true, 
113                  autoplay: { 
114                    delay: 3000, 
115                  }, 
116                  navigation: { 
117                    nextEl: '.swiper-next-btn', 
118                    prevEl: '.swiper-prev-btn', 
119                  }, 
120                }); 
121              </script> 
122            </#if> 
123            <#if video?? && video.getData() != ""> 
124                <div class="p-5 w-100"></div> 
125 
126                <div class="align-items-center d-flex flex-column gap-3 justify-content-center m-auto"> 
127                <link href="${css_folder}/video-js.min.css" rel="stylesheet" /> 
128                    <script src="${javascript_folder}/video.min.js"></script> 
129                <#list video.getSiblings() as cur_video> 
130                    <video class="video-js video-js-${cur_video?index} m7-4" controls preload="none" <#if (image_snapshot.getData())?? && image_snapshot.getData() != "">poster="${image_snapshot.getData()}"</#if>> 
131                        <source type="video/mp4" src="${cur_video.getData()}" style="margin: 40px auto;"/> 
132                    </video> 
133                    <script> 
134                        videojs(document.querySelector('.video-js-${cur_video?index}'), { 
135                            autoplay: false, 
136                            controls: true, 
137                            fluid: false, 
138                            width:'600px' 
139                        }); 
140                    </script> 
141                </#list> 
142                    <style> 
143                    .video-js .vjs-big-play-button { 
144                        left: 50%; 
145                        right: auto; 
146                        margin-left: -1.5em; 
147                        margin-top: -0.81666em; 
148                        top: 50%; 
149
150                    .video-js .vjs-big-play-button .vjs-icon-placeholder:before { 
151                        content: "\f100"; 
152                        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='22' viewBox='0 0 20 22' fill='none'%3E%3Cpath d='M19.6763 11.1154L0.836738 21.9924L0.836739 0.238342L19.6763 11.1154Z' fill='%23F9B234'%3E%3C/path%3E%3C/svg%3E"); 
153                        background-repeat: no-repeat no-repeat; 
154                        background-position: center center; 
155
156                    </style> 
157                        <#if (image_snapshot.getData())?? && image_snapshot.getData() != ""> 
158                        	<div class="text-center">${image_snapshot.getAttribute("alt")}</div> 
159                        </#if> 
160                    </div> 
161            </#if> 
162        </article> 
163      </div> 
164      <!-- Categories --> 
165      <section class="categories-section container"> 
166      <#if .vars['reserved-article-asset-tag-names'].data?has_content> 
167 
168        <div class="section-title"> 
169          <svg> 
170            <use xlink:href="/o/tehran-uni-theme/images/icons.svg#svg-calendar"></use> 
171          </svg> 
172          <h2>برچسب</h2> 
173        </div> 
174        <div class="section-content"> 
175        <#list .vars['reserved-article-asset-tag-names'].data?split(",") as Value> 
176          <a href="${site_default_url}/search?q=*&tag=${Value}" class="d-content"> 
177            <div class="section-item"> 
178              <svg> 
179                <use xlink:href="/o/tehran-uni-theme/images/icons.svg#svg-tag"></use> 
180              </svg> 
181              <span>${Value}</span> 
182            </div> 
183          </a> 
184          </#list> 
185        </div> 
186        </#if> 
187 
188      </section> 
189      <!-- Share --> 
190      <section class="share-section container"> 
191        <div class="section-title"> 
192          <svg> 
193            <use xlink:href="/o/tehran-uni-theme/images/icons.svg#svg-share"></use> 
194          </svg> 
195          <h2>اشتراک گذاری</h2> 
196        </div> 
197        <div class="section-content"> 
198        <script src="${javascript_folder}/print.min.js"></script> 
199          <a href="#" class="d-content"> 
200            <div class="content-item print"> 
201              <svg> 
202                <use xlink:href="/o/tehran-uni-theme/images/icons.svg#share-receipe"></use> 
203              </svg> 
204              <span>چاپ کردن</span> 
205            </div> 
206          </a> 
207          <a href="https://instagram.com/share/url?url=${site_default_url}/article/${.vars['reserved-article-id'].data}" class="d-content"> 
208            <span class="content-item"> 
209              <svg> 
210                <use xlink:href="/o/tehran-uni-theme/images/icons.svg#share-instagram"></use> 
211              </svg> 
212            </span> 
213          </a> 
214          <a href="https://telegram.org/share/url?url=${site_default_url}/article/${.vars['reserved-article-id'].data}" class="d-content"> 
215            <span class="content-item"> 
216              <svg> 
217                <use xlink:href="/o/tehran-uni-theme/images/icons.svg#share-telegram"></use> 
218              </svg> 
219            </span> 
220          </a> 
221          <a href="https://whatsapp.com/share/url?url=${site_default_url}/article/${.vars['reserved-article-id'].data}" class="d-content"> 
222            <span class="content-item"> 
223              <svg> 
224                <use xlink:href="/o/tehran-uni-theme/images/icons.svg#share-whatsapp"></use> 
225              </svg> 
226            </span> 
227          </a> 
228          <a href="https://splus.ir/share/url?url=${site_default_url}/article/${.vars['reserved-article-id'].data}" class="d-content"> 
229            <span class="content-item"> 
230              <img src="/o/tehran-uni-theme/images/soroush.svg" alt="اپلیکیشن سروش" /> 
231            </span> 
232          </a> 
233          <a href="https://eitaa.com/share/url?url=${site_default_url}/article/${.vars['reserved-article-id'].data}" class="d-content"> 
234            <span class="content-item"> 
235              <img src="/o/tehran-uni-theme/images/eita.svg" alt="اپلیکیشن ایتا" /> 
236            </span> 
237          </a> 
238        </div> 
239        <div class="copy-container"> 
240          <div class="btn"> 
241            <svg width="24" height="24"> 
242              <use xlink:href="/o/tehran-uni-theme/images/icons.svg#share-copy"></use> 
243            </svg> 
244          </div> 
245          <p>${site_default_url}/article/${.vars['reserved-article-id'].data}</p> 
246        </div> 
247      </section> 
248</div> 
249<script> 
250var copyBtn = document.querySelector('.copy-container'); 
251var copyValue = copyBtn.querySelector('.copy-container p'); 
252var printItem = document.querySelector('.print'); 
253var post = document.querySelector('.post-component'); 
254 
255// ** COPY TO CLIPBOARD 
256copyBtn.addEventListener('click', () => { 
257  var value = copyValue.textContent; 
258  navigator.clipboard.writeText(value); 
259  copyValue.textContent = 'کپی شد !'; 
260  var timer = setInterval(() => { 
261    copyValue.textContent = value; 
262    clearInterval(timer); 
263  }, 1500); 
264}); 
265 
266// ** PRINT 
267printItem.addEventListener('click', () => { 
268  return printJS({ 
269    printable: 'printable', 
270    type: 'html', 
271    css: '/o/tehran-uni-theme/css/components/news-details.css', 
272  }); 
273}); 
274</script> 
همه اخبار و رویدادها

بخش های آموزشی

برنامه درسی و امتحانی

انجمن علمی دانشجویی

کارگاه ها و همایش ها

فرم ها و آئین نامه ها

تقویم آموزشی

شماره های تماس