Jump to content
  • 0

ПОМОГИТЕ


gabdsh
 Share

Question

Есть текст открытый с помощью fire bag

(отрезок)

<div id="ext-comp-1021" class=" cssXPLabel XAML-object-title-label">Главная</div>

Мне нужно сделать так:

<div id="Proba" id="ext-comp-1021" class=" cssXPLabel XAML-object-title-label">Главная</div>

Вроде всё просто открыл файл html и прописал, но вот в чём проблема когда открываю файл html (view_doc.html)

там вот такой текст

<%

Server.Execute( "include/access_init.html" );

curParams = new SafeObject;

tools_web.set_web_params( curParams, curWebDesign.wvars, true );

Request.Session.Env.SetProperty( 'curParams', curParams );

if ( curObjectInitErrorText != '' )

{

curErrorText = curObjectInitErrorText;

Server.Execute( "view_access_panel.html" );

Cancel();

}

if (global_settings.settings.check_user_required_fields.Value && curUserID != null && Session.GetOptProperty("is_user_verified", false) != true && curMode != "personal_info")

{

function verify_user_fields()

{

var fldRequiredField, fldChildValue, bOk = true;

var aLame = Array();

for (fldRequiredField in ArraySelect(global_settings.settings.required_fields, "This.is_required.Value"))

{

if (fldRequiredField.is_custom)

fldChildValue = curUser.custom_elems.ObtainChildByKey(fldRequiredField.name).value;

else

fldChildValue = curUser.EvalPath(fldRequiredField.name);

if (!fldChildValue.HasValue)

{

bOk = false;

aLame.push(fldRequiredField.name.Value);

}

}

if (curUser.change_password)

{

bOk = false;

aLame.push("password");

}

if (bOk)

{

Session.SetProperty("is_user_verified", true);

Session.SetProperty("user_verification", null);

}

else

{

Session.user_verification = ({"lame_array": aLame, "save_url": (Request.Url + "")});

%>

<script type="text/javascript">

document.location.href = "/view_doc.html?mode=personal_info";

</script>

<%

Cancel();

}

}

verify_user_fields();

}

bDesigner = (Request.QueryString.GetOptProperty("designer") == "1" && curUser != null && ms_tools.check_access_block_rights("admin","write",curUser));

curTemplateSourceStack = [];

Request.Session.Env.curVars = new SafeObject;

curVars = Request.Session.Env.curVars;

if ( curDoc != null )

tools_web.set_web_params( curParams, curDoc.wvars, true );

Server.Execute( "include/template_init.html" );

if ( curAnonymousAccess && curWebDesign.default_custom_web_template_id.HasValue )

tools_web.write_custom_web_template( curWebDesign.default_custom_web_template_id );

else if ( curWebDesign.home_custom_web_template_id.HasValue )

tools_web.write_custom_web_template( curWebDesign.home_custom_web_template_id );

else

Server.Execute( "view_doc_main.html" );

tools_web.save_cur_active_web_template( curActiveWebTemplateDoc, false );

%>

Ворос: как мне сделать как я хочу, какие знания для этого нужны, на каком языке это написанно?? Заранее спасибо!

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy