send email; manage notis and email logs
This commit is contained in:
@@ -9,64 +9,64 @@
|
||||
</div>
|
||||
|
||||
<div class="list">
|
||||
<div class="list_item">
|
||||
<label class="desc" id="title1" for="tr_date">
|
||||
<img src="/_image/training.png">
|
||||
Dátum:
|
||||
</label>
|
||||
<div>
|
||||
{$training->get_tr_date()|substr:0:4}.
|
||||
{$months[$training->get_tr_date()|substr:5:2]}
|
||||
{$training->get_tr_date_day()}.
|
||||
{$days[$training->get_tr_date_day_of_week()]}
|
||||
{$training->get_tr_date_time()}
|
||||
<div class="list_item">
|
||||
<label class="desc" id="title1" for="tr_date">
|
||||
<img src="/_image/training.png">
|
||||
Dátum:
|
||||
</label>
|
||||
<div>
|
||||
{$training->get_tr_date()|substr:0:4}.
|
||||
{$months[$training->get_tr_date()|substr:5:2]}
|
||||
{$training->get_tr_date_day()}.
|
||||
{$days[$training->get_tr_date_day_of_week()]}
|
||||
{$training->get_tr_date_time()}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="list_item">
|
||||
<label class="desc" id="title2" for="tr_training_type_trt_id">
|
||||
<img src="/_image/tipus.png">
|
||||
Típus:
|
||||
</label>
|
||||
<div>
|
||||
{$training->get_tr_type_name_by_id()}
|
||||
<div class="list_item">
|
||||
<label class="desc" id="title2" for="tr_training_type_trt_id">
|
||||
<img src="/_image/tipus.png">
|
||||
Típus:
|
||||
</label>
|
||||
<div>
|
||||
{$training->get_tr_type_name_by_id()}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="list_item">
|
||||
<label class="desc" id="title1" for="tr_duration">
|
||||
<img src="/_image/time.png">
|
||||
Időtartam:
|
||||
</label>
|
||||
<div>{$training->get_tr_duration()} perc</div>
|
||||
</div>
|
||||
|
||||
{if $trc_coaches}
|
||||
<div class="list_item">
|
||||
<label class="desc" id="title1" for="coaches">
|
||||
<img src="/_image/coach.png">
|
||||
Edző(k):
|
||||
</label>
|
||||
<div style="display: inline-block;">
|
||||
{foreach $trc_coaches as $coach}
|
||||
{$coach->get_ua_name()}<br>
|
||||
{/foreach}
|
||||
{foreach $trc_helpers as $coach}
|
||||
<span class="italic">{$coach->get_ua_name()}</span><br>
|
||||
{/foreach}
|
||||
<div class="list_item">
|
||||
<label class="desc" id="title1" for="tr_duration">
|
||||
<img src="/_image/time.png">
|
||||
Időtartam:
|
||||
</label>
|
||||
<div>{$training->get_tr_duration()} perc</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<div class="list_item">
|
||||
<label class="desc" id="title1" for="tr_headcount">
|
||||
<img src="/_image/letszam.png">
|
||||
Létszám:
|
||||
</label>
|
||||
<div id="headcount">
|
||||
{$headcount} fő
|
||||
</div>
|
||||
</div>
|
||||
{if $trc_coaches}
|
||||
<div class="list_item">
|
||||
<label class="desc" id="title1" for="coaches">
|
||||
<img src="/_image/coach.png">
|
||||
Edző(k):
|
||||
</label>
|
||||
<div style="display: inline-block;">
|
||||
{foreach $trc_coaches as $coach}
|
||||
{$coach->get_ua_name()}<br>
|
||||
{/foreach}
|
||||
{foreach $trc_helpers as $coach}
|
||||
<span class="italic">{$coach->get_ua_name()}</span><br>
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<div class="list_item">
|
||||
<label class="desc" id="title1" for="tr_headcount">
|
||||
<img src="/_image/letszam.png">
|
||||
Létszám:
|
||||
</label>
|
||||
<div id="headcount">
|
||||
{$headcount} fő
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -88,9 +88,9 @@
|
||||
{/if}
|
||||
<div class="{if $user->get_uk_presence($tr_id)}name_tag_checked{else}name_tag{/if} width70" id="{$user->get_uk_id()}">
|
||||
<img src="/_image/shuttlecock.png">
|
||||
<div>{$user->get_uk_name()}</div>
|
||||
</div>
|
||||
|
||||
<div>{$user->get_uk_name()}</div>
|
||||
</div>
|
||||
|
||||
{/foreach}
|
||||
</div>
|
||||
|
||||
@@ -100,7 +100,7 @@
|
||||
{foreach $rest_users as $rest_user}
|
||||
<div class="{if $rest_user->get_uk_presence($tr_id)}name_tag_checked{else}name_tag{/if} width70" id="{$rest_user->get_uk_id()}">
|
||||
<img src="/_image/shuttlecock.png">
|
||||
<div>{$rest_user->get_uk_name()}</div>
|
||||
<div>{$rest_user->get_uk_name()}</div>
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
@@ -151,7 +151,7 @@ $('.name_tag').click(function() {
|
||||
url: '/_ajax/update_presence.php',
|
||||
data: { checked : checked, user_id : user_id, tr_id : tr_id, admin_id : admin_id},
|
||||
success: function(data) {
|
||||
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
@@ -181,13 +181,13 @@ $('.name_tag_checked').click(function() {
|
||||
//alert(checked);
|
||||
|
||||
var admin_id = $("#admin_id").val();
|
||||
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: '/_ajax/update_presence.php',
|
||||
data: { checked : checked, user_id : user_id, tr_id : tr_id, admin_id : admin_id},
|
||||
success: function(data) {
|
||||
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
@@ -205,4 +205,4 @@ function hexc(colorval) {
|
||||
}
|
||||
|
||||
|
||||
</script>
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user