Changeset 3300 for sandbox/blog/owner/entry/delete/index.php
- Timestamp:
- 05/21/07 02:25:54 (20 months ago)
- Files:
-
- 1 modified
-
sandbox/blog/owner/entry/delete/index.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sandbox/blog/owner/entry/delete/index.php
r3299 r3300 12 12 requireStrictRoute(); 13 13 foreach(explode(',', $_POST['targets']) as $target) { 14 15 // �����:: �� ���Ʈ�� ���� ��� ������Ȯ� 14 // TeamBlog check 16 15 if(empty($pc)){ 17 $isPosting = DBQuery::queryCell("SELECT Team FROM {$database['prefix']}TeamEntryRelations WHERE Owner='$owner' and Team='$_SESSION[admin]' and Id='$suri[id]' " ); 18 if(empty($isPosting)) { respondResultPage(-1); exit; } 16 $isPosting = DBQuery::queryCell("SELECT team FROM {$database['prefix']}TeamEntryRelations WHERE owner='$owner' and team='".$_SESSION['admin']."' and id='".$suri['id']."'" ); 17 if(empty($isPosting)) { 18 respondResultPage(-1); 19 exit; 20 } 19 21 } 20 22 // End TeamBlog … … 22 24 if (!deleteEntry($owner, $target)) 23 25 respondResultPage(-1); 24 25 26 } 26 27 respondResultPage(0);
