Beispiel #1
0
					<?php 
echo $msg;
?>
					<form action="create.php" method="post">
						<label for="type">Type:</label><br><br>
						<select name="type">
							<option value="Incoming">Incoming</option>
							<option value="Outgoing">Outgoing</option>
							<option value="Chat">Chat</option>
						</select><br><br>
						
						<label for="web">Web:</label><br><br>
						<select name="web">
							<?php 
$web = new web();
$web->select();
?>
						</select><br><br>
						
						<label for="subject">Subject:</label><br><br>
						<select name="subject">
							<?php 
$subject = new subject();
$subject->select();
?>
						</select><br><br>
						
						<label for="duration">Duration:</label><br><br>
						<select name="minutes">
							<?php 
printTime();
Beispiel #2
0
    }
    ?>
>Outgoing</option>
							<option value="Chat" <?php 
    if ($info['type'] == 'Chat') {
        echo 'selected';
    }
    ?>
>Chat</option>
						</select><br><br>
						
						<label for="web">Web:</label><br><br>
						<select name="web">
							<?php 
    $web = new web();
    $web->select($info['web']);
    ?>
						</select><br><br>
						
						<label for="subject">Subject:</label><br><br>
						<select name="subject">
							<?php 
    $subject = new subject();
    $subject->select($info['subject']);
    ?>
						</select><br><br>
						
						<label for="duration">Duration:</label><br><br>
						<select name="minutes">
							<?php 
    $minutes = (int) ($info['duration'] / 60);