• 0
  • 0 RepliesReplies
  • 1535 ReadTimes Read
  • 0 PointsPoints

Topic: Error Ultimate Portal 0.3

no avatar
Usuario: bruce86
Rango: ReciƩn Llegado
Mensajes: 79
Points: 0
Mi web: http://www.passiongames.it/forum/index.php?action=
Perfil: View Profile
Error Ultimate Portal 0.3
August 23, 2011 - 04:14 04:14
Error:
Code: [Select]
31: cache_put_data('page_index_news', $context['page_index'], 1800);
32: }else{
33: $context['news'] = cache_get_data('bk_news', 1800);
34: $context['page_index'] = cache_get_data('page_index_news', 1800);
35: }
36: }else{
37: LoadBlockNews();
38: }
39:
40: echo "
41: <script type="text/javascript">
42: function makesurelink() {
43: if (confirm('".$txt['ultport_delete_news_confirmation']."')) {
44: return true;
45: } else {
46: return false;
47: }
48: }
49: </script>";
50:
==>51: foreach($context['news'] as $news)
52: {
53: echo '<div class="description"><img style="vertical-align: middle;" alt="'. stripslashes($news['title_cat']) .'" src="'. $news['icon'] .'" width="20" height="20" />
54: &nbsp;<strong><a href="'. $scripturl .'?action=news;sa=show-cat;id='. $news['id_cat'] .'">'. stripslashes($news['title_cat']) .'</a></strong>
55: - <strong>'. $news['title'] .'</strong> <span style="text-align:right;">'. $news['view'] .'</span>
56: <br />'. $news['added-news'] .'</div>
57:                  <div>'. $news['body'] .'</div><br />';
58:
59: if (!empty($user_info['up-modules-permissions']['news_moderate']) || $user_info['is_admin'])
60: {
61: echo '<div style="border: 1px dashed #aaa;padding: 3px;">'. $news['edit'] .'
62: '. $news['delete'] .'</div>';
63: }
64:
65: }
66: //Page Index
67: echo '
68: <div style="text-align:center">
69: <strong>'. $txt['pages'] .':</strong> '. $context['page_index'] . '
70: </div>';
71: //End Page Index

Gracias..:)
 

TAGS



top

Smfsimple.com es un sitio destinado a brindar un servicio de soporte y herramientas para foros realizados con el sistema de foros gratuito simplemachines.org. Contamos con un selecto equipo de desarrolladores y conocedores del sistema, sus foros estaran en buenas manos.
This site is not affiliated with or endorsed by Simple Machines