<?php
if(iMEMBER) {
$result = dbquery("SELECT * FROM ".DB_USERS." WHERE user_id='".$_GET['user']."'");
if (dbrows($result)) {
$data = dbrows($result);
$member = $data['user_name'];
if ($member == "Joe") {
echo '<iframe class="airtable-embed" src="Calender for member 1" frameborder="0" onmousewheel="" width="100%" height="533" style="background: transparent; border: 1px solid #ccc;"></iframe>':
} elseif ($member == "Fred") {
echo '<iframe class="airtable-embed" src="Calender for member 2" frameborder="0" onmousewheel="" width="100%" height="533" style="background: transparent; border: 1px solid #ccc;"></iframe>':
} elseif ($member == "James") {
echo '<iframe class="airtable-embed" src="Calender for member 3" frameborder="0" onmousewheel="" width="100%" height="533" style="background: transparent; border: 1px solid #ccc;"></iframe>':
} elseif ($member == "Ralph") {
echo '<iframe class="airtable-embed" src="Calender for member 4" frameborder="0" onmousewheel="" width="100%" height="533" style="background: transparent; border: 1px solid #ccc;"></iframe>':
}
}
}
?>
<?php
if(iMEMBER) {
$result = dbquery("SELECT * FROM ".DB_USERS." WHERE user_id='".$_GET['user']."'");
if (dbrows($result)) {
$data = dbrows($result);
$member = $data['user_name'];
if ($member == "Joe") {
?>
<iframe class="airtable-embed" src="Calender for member 1" frameborder="0" onmousewheel="" width="100%" height="533" style="background: transparent; border: 1px solid #ccc;"></iframe>
<?php
} elseif ($member == "Fred") {
?>
<iframe class="airtable-embed" src="Calender for member 2" frameborder="0" onmousewheel="" width="100%" height="533" style="background: transparent; border: 1px solid #ccc;"></iframe>
<?php
} elseif ($member == "James") {
?>
<iframe class="airtable-embed" src="Calender for member 3" frameborder="0" onmousewheel="" width="100%" height="533" style="background: transparent; border: 1px solid #ccc;"></iframe>
<?php
} elseif ($member == "Ralph") {
?>
<iframe class="airtable-embed" src="Calender for member 4" frameborder="0" onmousewheel="" width="100%" height="533" style="background: transparent; border: 1px solid #ccc;"></iframe>
<?php
}
}
}
?>
Category Forum
Modifications and Requests - 8Labels
None yet
Statistics
3 participants
Notifications
You are not receiving notifications from this thread.
Related Questions