Changeset 31
- Timestamp:
- Jul 21, 2003, 11:42:11 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/picture.php
r26 r31 22 22 check_cat_id( $_GET['cat'] ); 23 23 check_login_authorization(); 24 if ( isset( $page['cat'] ) &&is_numeric( $page['cat'] ) )24 if ( isset( $page['cat'] ) and is_numeric( $page['cat'] ) ) 25 25 { 26 26 check_restrictions( $page['cat'] ); … … 433 433 } 434 434 //------------------------------------ admin link for information modifications 435 if ( $user['status'] == "admin" &&is_numeric( $page['cat'] ) )435 if ( $user['status'] == "admin" and is_numeric( $page['cat'] ) ) 436 436 { 437 437 $vtp->addSession( $handle, 'modification' ); … … 512 512 $vtp->addSession( $handle, 'comments' ); 513 513 // comment registeration 514 if ( isset( $_POST['content'] ) &&$_POST['content'] != '' )514 if ( isset( $_POST['content'] ) and $_POST['content'] != '' ) 515 515 { 516 516 $author = $user['username']; … … 540 540 // comment deletion 541 541 if ( isset( $_GET['del'] ) 542 &&is_numeric( $_GET['del'] )543 &&$user['status'] == 'admin' )542 and is_numeric( $_GET['del'] ) 543 and $user['status'] == 'admin' ) 544 544 { 545 545 $query = 'DELETE FROM '.PREFIX_TABLE.'comments';
Note: See TracChangeset
for help on using the changeset viewer.