//
var TN_Widget = function()
{
return {
//Options
newWindow : true,
linkText : "Veja Ingressos",
tixUrl : "https://www.superingressos.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"plzGetReplaced",
CreateCustomUrl : function(row)
{
return this.tixUrl + row[7] + "-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[3] +" "+"" +
row[4] + " "+"" +
row[5] + " | "+"" +
row[0] +" | " +
row[1] +" " +
row[2] +" | "+""+ this.linkText+ " |
";
},
GetAffiliateTrackURL: function(){
return this.cutLink? this.CreateCustomUrl(row) :"";
},
AddCss: function(cssUrl)
{
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url)
{
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr=0; cntr';
}else
document.write('' + newTable.join('') + '
');
if(eventData.length>=100 && kywrds!=undefined) //need to add link to all events if more than 100
{
if(objToAddTo = document.getElementById("tn_results_container"))
{
objToAddTo.innerHTML += '';
}
else
{
document.write('');
}
}
}
};
}();
//BPW-TNSERV-02A
TN_Widget.AddCss('//tn-widget.seatics.com/widget2Css/WidgetStyle20.css');
TN_Widget.CreateTable([['UFC 314: Volkanovski vs. Lopes','Kaseya Center','Miami, FL','sábado','12 abr 25','TBD','6981836','UFC-314--Volkanovski-vs--Lopes-4-12-2025'], ['UFC Fight Night: Machado Garry vs. Prates','T-Mobile Center','Kansas City, MO','sábado','26 abr 25','TBD','7013212','UFC-Fight-Night--Machado-Garry-vs--Prates-4-26-2025'], ['UFC Fight Night: Sandhagen vs. Figueiredo','Wells Fargo Arena - IA','Des Moines, IA','sábado','3 mai 25','18:00','6981843','UFC-Fight-Night--Sandhagen-vs--Figueiredo-5-3-2025'], ['UFC 315: Muhammad vs. Della Maddalena','Centre Bell','Montreal, Canada','sábado','10 mai 25','TBD','6981838','UFC-315--Muhammad-vs--Della-Maddalena-5-10-2025'], ['UFC 316: Dvalishvili vs. O'Malley 2','Prudential Center','Newark, NJ','sábado','7 jun 25','TBD','7013199','UFC-316--Dvalishvili-vs--O-Malley-2-6-7-2025'], ['UFC Hall of Fame Induction Ceremony','T-Mobile Arena','Las Vegas, NV','quinta-feira','26 jun 25','TBD','7032269','UFC-Hall-of-Fame-Induction-Ceremony-6-26-2025'], ['UFC 317','T-Mobile Arena','Las Vegas, NV','sábado','28 jun 25','TBD','7013200','UFC-317-6-28-2025']],'UFC','https://www.superingressos.com/boleto/eventos-UFC.aspx');