|
|
@ -129,6 +129,9 @@
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var begin_time = new Date();
|
|
|
|
|
|
|
|
var end_time = new Date("2019-10-10");
|
|
|
|
|
|
|
|
if (begin_time < end_time) {
|
|
|
|
if (window.localStorage) {
|
|
|
|
if (window.localStorage) {
|
|
|
|
var uid = localStorage.getItem('competition_uid');
|
|
|
|
var uid = localStorage.getItem('competition_uid');
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
@ -138,6 +141,8 @@
|
|
|
|
var htmlvalue = "<%= escape_javascript(render :partial => 'competitions/competitions_name')%>";
|
|
|
|
var htmlvalue = "<%= escape_javascript(render :partial => 'competitions/competitions_name')%>";
|
|
|
|
pop_box_new(htmlvalue, 500, 380);
|
|
|
|
pop_box_new(htmlvalue, 500, 380);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<% notice = SystemUpdateNotice.last %>
|
|
|
|
<% notice = SystemUpdateNotice.last %>
|
|
|
|
<% if @noticed_update || ((User.current.certification == 1 || params[:controller] != "welcome") && notice.present? && notice.end_time > Time.now && notice.start_time >= (Time.now - 21600) && User.current.user_system_notices.where(:notice_type => notice.notice_type).count == 0) %>
|
|
|
|
<% if @noticed_update || ((User.current.certification == 1 || params[:controller] != "welcome") && notice.present? && notice.end_time > Time.now && notice.start_time >= (Time.now - 21600) && User.current.user_system_notices.where(:notice_type => notice.notice_type).count == 0) %>
|
|
|
|