prowebber.ru -

 RSS
«     2016    »
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 


ProWebber.ru . .
.


, , .

DLE: 8.3

:

engine/modules/addnews.php
:


if( ! $config['allow_add_tags'] ) $_POST['tags'] = "";
elseif( preg_match( "/[\||\'|\<|\>|\"|\!|\?|\$|\@|\/|\\\|\&\~\*\+]/", $_POST['tags'] ) ) $_POST['tags'] = "";
else $_POST['tags'] = $db->safesql( htmlspecialchars( strip_tags( stripslashes( trim( $_POST['tags'] ) ) ), ENT_QUOTES ) );



:


if( $found ) {

$db->query( "UPDATE " . PREFIX . "_post set title='$title', short_story='$short_story', full_story='$full_story', xfields='$filecontents', category='$category_list', alt_name='$alt_name', allow_comm='$allow_comm', approve='$approve', allow_main='$allow_main', allow_rate='$allow_rating', fixed='$news_fixed', allow_br='$allow_br', flag='1', tags='" . $_POST['tags'] . "' WHERE id='$id'" );

//
if( $_POST['tags'] != $row['tags'] or $approve ) {
$db->query( "DELETE FROM " . PREFIX . "_tags WHERE news_id = '{$row['id']}'" );

if( $_POST['tags'] != "" and $approve ) {

$tags = array ();

$_POST['tags'] = explode( ",", $_POST['tags'] );

foreach ( $_POST['tags'] as $value ) {

$tags[] = "('" . $row['id'] . "', '" . trim( $value ) . "')";
}

$tags = implode( ", ", $tags );
$db->query( "INSERT INTO " . PREFIX . "_tags (news_id, tag) VALUES " . $tags );

}
}

} else {



:


//
if( ! $config['allow_add_tags'] ) $tags = "";
else $tags = str_word_count ( strip_tags( stripslashes( $title ) ), 1 );
$tag = implode ( ",", $tags );
//
if( $found ) {

$db->query( "UPDATE " . PREFIX . "_post set title='$title', short_story='$short_story', full_story='$full_story', xfields='$filecontents', category='$category_list', alt_name='$alt_name', allow_comm='$allow_comm', approve='$approve', allow_main='$allow_main', allow_rate='$allow_rating', fixed='$news_fixed', allow_br='$allow_br', flag='1', tags='$tag' WHERE id='$id'" );

//
if( $tag != $row['tags'] or $approve ) {
$db->query( "DELETE FROM " . PREFIX . "_tags WHERE news_id = '{$row['id']}'" );

if( $tag != "" and $approve ) {
$tag = "";
foreach ( $tags as $value ) {

$tag[] = "('" . $row['id'] . "', '" . trim( $value ) . "')";
}

$tag = implode( ", ", $tag );
$db->query( "INSERT INTO " . PREFIX . "_tags (news_id, tag) VALUES " . $tag );

}
}

} else {



:


$db->query( "INSERT INTO " . PREFIX . "_post (date, autor, short_story, full_story, xfields, title, keywords, category, alt_name, allow_comm, approve, allow_main, fixed, allow_rate, allow_br, flag, tags) values ('$thistime', '$member_id[name]', '$short_story', '$full_story', '$filecontents', '$title', '', '$category_list', '$alt_name', '$allow_comm', '$approve', '$allow_main', '$news_fixed', '$allow_rating', '$allow_br', '1', '" . $_POST['tags'] . "')" );



:


$db->query( "INSERT INTO " . PREFIX . "_post (date, autor, short_story, full_story, xfields, title, keywords, category, alt_name, allow_comm, approve, allow_main, fixed, allow_rate, allow_br, flag, tags) values ('$thistime', '$member_id[name]', '$short_story', '$full_story', '$filecontents', '$title', '', '$category_list', '$alt_name', '$allow_comm', '$approve', '$allow_main', '$news_fixed', '$allow_rating', '$allow_br', '1', '$tag')" );



:


if( $_POST['tags'] != "" and $approve ) {

$tags = array ();

$_POST['tags'] = explode( ",", $_POST['tags'] );

foreach ( $_POST['tags'] as $value ) {

$tags[] = "('" . $row['id'] . "', '" . trim( $value ) . "')";
}

$tags = implode( ", ", $tags );
$db->query( "INSERT INTO " . PREFIX . "_tags (news_id, tag) VALUES " . $tags );

}



:


if( $tag != $row['tags'] or $approve ) {
$db->query( "DELETE FROM " . PREFIX . "_tags WHERE news_id = '{$row['id']}'" );

if( $tag != "" and $approve ) {
$tag = "";
foreach ( $tags as $value ) {

$tag[] = "('" . $row['id'] . "', '" . trim( $value ) . "')";
}

$tag = implode( ", ", $tag );
$db->query( "INSERT INTO " . PREFIX . "_tags (news_id, tag) VALUES " . $tag );

}
}



engine/inc/addnews.php

:


if( preg_match( "/[\||\'|\<|\>|\"|\!|\?|\$|\@|\/|\\\|\&\~\*\+]/", $_POST['tags'] ) ) $_POST['tags'] = "";
else $_POST['tags'] = $db->safesql( htmlspecialchars( strip_tags( stripslashes( trim( $_POST['tags'] ) ) ), ENT_QUOTES ) );



:


$db->query( "INSERT INTO " . PREFIX . "_post (date, autor, short_story, full_story, xfields, title, descr, keywords, category, alt_name, allow_comm, approve, allow_main, fixed, allow_rate, allow_br, votes, access, symbol, flag, tags, metatitle) values ('$thistime', '{$member_id['name']}', '$short_story', '$full_story', '$filecontents', '$title', '{$metatags['description']}', '{$metatags['keywords']}', '$category_list', '$alt_name', '$allow_comm', '$approve', '$allow_main', '$news_fixed', '$allow_rating', '$allow_br', '$add_vote', '$group_regel', '$catalog_url', '1', '{$_POST['tags']}', '{$metatags['title']}')" );



:


//
if( ! $config['allow_add_tags'] ) $tags = "";
else $tags = str_word_count ( strip_tags( stripslashes( $title ) ), 1 );
$tag = implode ( ",", $tags );
//
$db->query( "INSERT INTO " . PREFIX . "_post (date, autor, short_story, full_story, xfields, title, descr, keywords, category, alt_name, allow_comm, approve, allow_main, fixed, allow_rate, allow_br, votes, access, symbol, flag, tags, metatitle) values ('$thistime', '{$member_id['name']}', '$short_story', '$full_story', '$filecontents', '$title', '{$metatags['description']}', '{$metatags['keywords']}', '$category_list', '$alt_name', '$allow_comm', '$approve', '$allow_main', '$news_fixed', '$allow_rating', '$allow_br', '$add_vote', '$group_regel', '$catalog_url', '1', '$tag', '{$metatags['title']}')" );



:


if( $_POST['tags'] != "" and $approve ) {

$tags = array ();

$_POST['tags'] = explode( ",", $_POST['tags'] );

foreach ( $_POST['tags'] as $value ) {

$tags[] = "('" . $row['id'] . "', '" . trim( $value ) . "')";
}

$tags = implode( ", ", $tags );
$db->query( "INSERT INTO " . PREFIX . "_tags (news_id, tag) VALUES " . $tags );

}



:


if( $tag != $row['tags'] or $approve ) {
$db->query( "DELETE FROM " . PREFIX . "_tags WHERE news_id = '{$row['id']}'" );

if( $tag != "" and $approve ) {
$tag = "";
foreach ( $tags as $value ) {

$tag[] = "('" . $row['id'] . "', '" . trim( $value ) . "')";
}

$tag = implode( ", ", $tag );
$db->query( "INSERT INTO " . PREFIX . "_tags (news_id, tag) VALUES " . $tag );

}
}



0
: 3758 VIP ProWebber | (15)
, .
.

#1MaxiMoruM

  • 30 2009 17:31
  • : 1.11.2009
  • ICQ: --
  • : 14
??

0

#2kaktus

  • 30 2009 20:00
  • : 9.10.2009
  • ICQ: 402814915
  • : 112
, ,

0

#3MysterIoes

  • 31 2009 02:40
  • : 22.11.2009
  • ICQ: --
  • : 356
8.3 cool

0

#4DaImeR

  • 31 2009 09:11
  • : 21.11.2009
  • ICQ: 416980738
  • : 338

--------------------

0

#5bin112

  • 31 2009 17:02
  • : 15.08.2009
  • ICQ: 7851460
  • : 80
7,5 ?

0

#6Mr.Sorrel

  • 31 2009 17:07
  • : 11.11.2009
  • ICQ: 79374388
  • : 99
? !

: ! !

: , , , .


:)

--------------------

0

#7BeSSeR

  • 31 2009 17:08
  • : 23.11.2009
  • ICQ: --
  • : 165
, 8.3 .

--------------------

0

#8MysterIoes

  • 31 2009 17:10
  • : 22.11.2009
  • ICQ: --
  • : 356
bin112,
DLE: 8.3

?

0

#9ZAVcom

  • 1 2010 15:19
  • : 14.10.2009
  • ICQ: 77038390
  • : 55

--------------------

0

#10dyzajner

  • 4 2010 11:37
  • : 24.10.2009
  • ICQ: --
  • : 60
, .
,

0

#11abatsk

  • 10 2010 10:28
  • : 10.01.2010
  • ICQ: --
  • : 42
, .

0

#12kaybox

  • 2 2010 00:45
  • : 1.02.2010
  • ICQ: --
  • : 57
20 dash

0

#13Hallboy222

  • 5 2010 10:06
  • : 5.02.2010
  • ICQ: --
  • : 19
)

0

#14-=MaD_DoG=-

  • 7 2011 01:52
  • : 9.02.2010
  • ICQ: --
  • : 223


$tag = implode ( ", ", $tags );

", " , ))

--------------------

0

#15DoKeP

  • 12 2012 19:02
  • : 16.05.2012
  • ICQ: --
  • : 6
9,5 ?

0

, , .

Max-energy.top - ;)

Skripters.info - . .

DLE, ! 3wave.com.ua



VDS !

, cms, ,

?

1-2
1-2
2
smile

foto
()