2 include('../tools/validate_cookie.php');
3 include('ring_session_manager_itf.php');
4 include_once('../tools/domain_info.php');
5 include('../login/config.php');
7 function scheduleSessionResult($charId, $sessionId, $result, $resultString)
9 echo "Create session result :<br>";
12 echo "Session $sessionId created for character $charId<br>";
14 echo "<h2>Your session have been planned, thank you<h2><br>";
18 echo "Failed to create a session for character $charId with error $resultString <br>";
22 ///////////////////////////
24 ///////////////////////////
28 if (!validateCookie($userId, $domainId, $charId))
30 echo "<h1>Invalid cookie, please relog<H1>";
34 $domainInfo = getDomainInfo($domainId);
35 $addr = split(":", $domainInfo["session_manager_address"]);
40 <h1
>Schedule an edit
or animation session
</h1
>
41 <form action
="send_plan_edit_session.php" method
="post">
42 Session title
: <input type
="text" name
="title" value
="enter a title"><br
>
43 Session description
: <input type
="text" name
="description" value
="enter a description"><br
>
44 <input type
='hidden' name
='session_type' value
='st_edit'>
45 <input type
="submit" name
="button" value
="Schedule edition">
49 <form action
="send_plan_edit_session.php" method
="post">
50 Session title
: <input type
="text" name
="title" value
="enter a title"><br
>
51 Session description
: <input type
="text" name
="description" value
="enter a description"><br
>
52 <input type
='hidden' name
='session_type' value
='st_anim'>
53 <input type
="submit" name
="button" value
="Schedule animation">
57 <a href
="web_start.php">Return to start menu
</a
>