예제 #1
0
 case 'editpic':
     GalleryHeader();
     editPic($uid);
     GalleryFooter();
     break;
 case 'edittitle':
     editImageTitle();
     break;
 case 'editdesc':
     editImageDesc();
     break;
 case 'savepic':
     savePic();
     break;
 case 'deletepic':
     deletePic($uid);
     break;
 case 'commentadd':
     commentAdd();
     break;
 case 'deletecomment':
     delComment();
     break;
 case 'approvecomment':
     approveComment();
     break;
 case 'unapprovecomment':
     unapproveComment();
     break;
 case 'spamcomment':
     spamComment();
예제 #2
0
        handleEmail();
        break;
    case 'changePassword':
        handlePassword();
        break;
    case 'getCurrentPicture':
        getCurrentPicture();
        break;
    case 'getAllPictures':
        getAllPictures();
        break;
    case 'setAsNewProfilePic':
        setAsNewProfilePic();
        break;
    case 'deletePic':
        deletePic();
        break;
    case 'fetchCurrentValues':
        fetchCurrentValues();
        break;
    case 'getCurrentUser':
        getCurrentUser();
        break;
    case 'setCurrentPage':
        setCurrentPage();
        break;
}
function setCurrentPage()
{
    $sessionObject = new sessionModule();
    $sessionObject->setPage($_POST['page']);