How to specify a different home page. Redirecting to another page using JavaScript. How to make a link in the form of an image to another page in a specific place

I'm working on a tag system: 1. You can select some tags from a list and display them in a tag container (a tag can only be selected once and the sum is limited to 10) and another tag has different colors. 2. You can delete some selected tags in the tags container. 3.Check information in and save in database. 4. show the tags on another page and you can update the selected tag list on this page.

For now, the first two steps are complete, but I'm rather confused on how I can pass the selected information to php and the database (contents and colors) so they can be displayed and updated on another page. Anyone can give me some suggestions? Thanks to.

  • Morning
  • Afternoon
  • Evening

here is the javascript:

$(function()( var tags = ; function add_tag(that)( var tag = $(that).text(); if($.inArray(tag, tags)>=0|| tags.length >= 10) return;tags.push(tag);var singleValues ​​= $(that).find("span").clone();singleValues.innerHTML += "×";$("#tag_handler").append(singleValues); /*display the selected tags in the tag_handler with × style*/ ) $("li").click(function()( add_tag(this); ));/*add tags to the tag_container when click the li*/ $ ("#tag_handler").on("click", "span", function()( var tag = $(this).text(); var index = $.inArray(tag, tags); tags.splice(index ,1); $(this).remove(); ));/*remove the tag when click this tag in the tag_container*/ ));

Now the only way is to use http methods like POST/GET to transfer data from client to server. Implementation depends on what you like best or best - friendly and easy to use interface, so my suggestions are:

You can create a (dynamically or not) form (eg with hidden fields) and update their values ​​with JS and pass the data through the submit button which is an easy implementation.

Another implementation is to use Ajax if you care about the user's choice and create the data structure dynamically.

In both cases, you must check the correctness of the submitted data using php. Never trust the user or "implied" JavaScript limits.

At the same time, in the record of dismissal in the order of transfer, indicate in what order the transfer is made - at the request of the employee or with his consent (clause 6.1 of the Instruction approved by Decree of the Ministry of Labor of Russia dated October 10, 2003 No. 69). For more information, see How to transfer an employee to another organization. An entry on the assignment of a rank, obtaining a profession How to make an entry in the work book about assigning a new rank to an employee or obtaining a new profession If an employee is assigned a new rank (class, category, etc.) during the period of work or he receives a second and subsequent profession, then this must be reflected in the work book in the "Information about work" section. In column 1 of the specified section, put the next serial number of the entry, in column 2 indicate the date the new profession was established or the rank was assigned, in column 3 make the main entry.

Vote:

What kind of document this is, the Labor Code of the Russian Federation does not define. Therefore, it can be anything (certificate, copy or extract from the order for employment, etc.), provided that it contains the necessary information. Such rules are established in part 5 of article 66 of the Labor Code of the Russian Federation.
If an employee presents a copy of the employment order, accept only a properly certified copy of the document from the employee. The copy must bear the certification inscription “True” or “Copy is correct”, position of the person who certified the copy, personal signature, decoding of the signature (initials, surname), date of certification. Often, besides this, there is also the seal of the organization or personnel service.
This procedure is established in paragraph 3.26 of GOST R 6.30-2003 (adopted and put into effect by the resolution of the State Standard of Russia dated March 3, 2003 No. 65-st).

Employment history. entry did not fit

Updated HR Communities: HR & HR | 08/01/2012 14:55 HHHRRR Dear colleagues! Tell me what to do. only one line did not fit on the page, do not believe it, only one word, namely “Employee:”, for the employee’s signature under the record. I wrote this word on the next page and the employee put his signature. Question: Should I put the seal a second time already on the spread of a new page, or is one seal enough on the previous one? Comments View my last comment? none))))… - ShiShindRa, 08/03/2012 11:32 that's wonderful))…

Is a workbook stamped?

This procedure is established in part 4 of article 66 of the Labor Code of the Russian Federation, in section II of the Rules approved by Decree of the Government of the Russian Federation of April 16, 2003 No. 225, and clause 3.1 of the Instruction approved by Decree of the Ministry of Labor of Russia of October 10, 2003 No. 69. More about work books read here: If the name of the organization changes during the work of an employee, also make a note about this in the workbook (clause 3.2 of the Instruction approved by the Decree of the Ministry of Labor of Russia dated October 10, 2003 No. 69). Basis for entry On the basis of what documents are entries made in the work book about work? Records about the work performed, transfer to another permanent job, qualifications, etc.


add to the work book on the basis of the relevant order (instruction) of the head of the organization no later than a week, and upon dismissal - on the day of dismissal.

How to transfer an entry to another page in a workbook?

This is stated in paragraphs 24, 25 of the Rules approved by Decree of the Government of the Russian Federation of April 16, 2003 No. 225. Enter the award (encouragement) in the employee's work book on the basis of the relevant order no later than a week in the following order. First, in column 3 of the section "Information about the award" in the form of a heading, indicate the full and abbreviated name of the organization.

Under this heading in column 1, put the serial number of the record (numbering that grows throughout the employee's work). In column 2, indicate the date of the award. In column 3, write who awarded the employee, for what achievements and what award. In column 4, indicate the name, date and number of the document on the basis of which the entry was made.


This procedure is established in Section 4 of the Instruction, approved by the Decree of the Ministry of Labor of Russia of October 10, 2003 No.

There is no note in any legislative act about what to do in such a situation, and therefore it is difficult to judge the correctness of actions when there is not enough space for the signature and seal of the employer. It is worth noting that the normative acts of labor legislation state that there should not be empty lines in the work book. That is, each subsequent entry should be made in the next line, after the previous one.

If we take this into account, then transferring the signature to a new page is not a mistake. Moreover, after the record is certified by the employer, the owner of the work book must put his signature under it. On the other hand, some personnel officers leave a couple of blank lines at the end, moving the entry to the next page.

Formally, this is considered a violation of the rules for maintaining work books, but in practice, such situations can rarely cause problems for owners.

If the record of dismissal is on one page and the seal is on another

In the work book, make an entry about the time of study at courses and schools for advanced training, retraining and training of personnel, indicating the details of the relevant documents (diplomas, certificates, certificates). At the same time, the duration of the courses does not matter, that is, they can be both short-term (several days) and long-term (from several weeks to several months). This follows from the provisions of subparagraph "b" of paragraph 21 of the Rules, approved by the Decree of the Government of the Russian Federation of April 16, 2003 No.
No. 225. Record of part-time work How to make an entry in the work book about the work of an employee part-time At the request of an employee, entries about part-time work can be made in his work book. Such information is entered at the main place of work. The basis for this will be a document confirming part-time work.

Attention

For example, if an employee decided to take unused vacation before leaving, then the last day of vacation is considered the date of dismissal. Date the dismissal entry in the employee's work book on the day of dismissal (clause 5.1 of the Instruction approved by the Decree of the Ministry of Labor of Russia dated October 10, 2003 No. 69). An entry about the reason for dismissal in the work book can be indicated using the wording "Employment contract terminated ..." or "Fired by ...".


Both entries are correct. This is confirmed by section 5 of the Instruction approved by the Decree of the Ministry of Labor of Russia of October 10, 2003 No. 69, paragraphs 14–19 of the Rules approved by the Government of the Russian Federation of April 16, 2003 No. 225. Labor legislation does not contain instructions to use any specific introductory wording upon termination of an employment contract.
Mandatory are only an exact reference to the relevant norm-base specified in the Labor Code of the Russian Federation or other federal law (part 5 of article 84.1 of the Labor Code of the Russian Federation). For ethical reasons, the wording “Fired due to ...” is not used when making an entry on the termination of an employment contract under paragraph 6 of part 1 of Article 83 of the Labor Code of the Russian Federation in connection with the death of an employee. If an employee resigns of his own free will for reasons with which the law associates certain benefits and benefits (for example, in connection with caring for a child under the age of 14), then make an entry about the dismissal in the work book indicating these reasons (paragraph
5.6 Instructions approved by the Decree of the Ministry of Labor of Russia dated October 10, 2003 No. 69). Confirm the record of dismissal with the signatures of the responsible person on the part of the employer and employee and affix a seal (p.

Question Please tell me if when filling out a work book the position and signature of the head of the personnel department do not fit, is it possible to transfer only positions and signatures to another page. the question is precisely that there was not enough space for the position and signature, it turns out that on one page there is an entry for dismissal, and on the other the signature approval of the Instructions for filling out work books ", this situation is not regulated. We believe that in this case it is better to transfer the entry (position, signature) to a new page, especially since the pages of the work book have not ended. This will not be a mistake. We recommend reading about how to properly make an entry in the work book, the material at this link.

Hello, dear readers of the blog site. tied to a mobile phone number, and not to a mailbox, as it was before.

On the one hand, this increases security (it is more difficult to hack and steal an account) and simplifies the procedure for restoring access, but on the other hand, it makes life somewhat more difficult for those who do not want to burn their mobile phone number () or want or several on different accounts.

In this regard, the question often arises - is it possible to untie the number from the pages in Contact? In principle, it is possible, although it is not entirely obvious. By the way, this may be needed in different cases. For example, you could buy a new SIM card and at the same time, for some reason, throw away the old one (to which access to the Contact was attached), or simply lose it. Also, you may have two VK accounts and you decide to link this particular number to your other account.

You may also need to unbind the number in the case that I already wrote about, when it would be desirable to unbind the number before deleting the account, otherwise it will still remain in the database of this social network.

How can I untie a page in VK from your phone number?

Starting from 2013, it will not be possible to simply untie a phone number from your account in Vkontakte (previously you could do this by specifying Email as the main type of binding). That is, now it will not be possible to simply delete your phone number and not offer a new one in return. It is understandable - VK has switched to a high security standard and the entrance to the site is tied primarily to the mobile phone.

However, you can easily change this same number to another, thereby unlink your page from the old number, to which, for example, you could lose access for one reason or another. In general, for starters, it would be nice to understand a few rules that moderators and administrators of Vkontakte adhere to:

  1. You can use one mobile phone number. Thus, the system is trying to fight spam pages, which many people use to cheat and earn money, although all this is served under sauce, which, they say, is more convenient for users. Therefore, creating a new page for the same number will no longer work.
  2. However, if you already there is another account in this social network(for example, registered before 2013, when it was enough to link another Email address), then you can link to it the phone number that is already used on your other account in VK. Thus, from the first page you need number, of course, unsubscribe. True, then when you enter such an account (with an unattached number), you will be strongly advised to bind some phone to it so that they torture you, but this is the tenth thing.

From the above rules and conditions for working with Vkontakte, at the moment we can draw several conclusions:

  1. It will be possible without any problem unlink the number to which you have lost access from the page(lost a SIM card, threw it away, gave it to someone, etc.). The official way (if access to the old number is not possible) will take you two weeks, and the unofficial (though somewhat risky) one day.
  2. If you have another account in VK, then the number can be transferred to it, thereby untying it from the desired page (there may be a lot of reasons). Here, again, certain delays are possible at different steps, but in principle everything is feasible (I myself have done this more than once).
  3. The third option in the series - I didn't tell you that. Spammers still bypass the Contact restrictions on the number of pages registered per person and use various services for this, which can be called a “temporary mobile number” (you will get access to SMS messages coming to it).

    The number obtained there can be used to implement the first option of decoupling (official), thereby deleting the real number and replacing it with a fake one. Of course, this will significantly complicate or make it impossible to restore access to the page, but in some cases it may be necessary to untie the number just before deleting the page, so as not to leave unnecessary tails later.

Where does the phone number associated with the page in VK change?

The unbinding process itself is implemented on the page " My settings" in the area of "Your phone number". To do this, it will be enough to click on the "Change phone number" button and enter it in the window that opens.

True, I recently transferred this number from this account to that one (unlinked), so I am offered to wait a bit (about two weeks):

In your case, this message most likely will not be. Usually everything goes fine and you are told that by default the process of changing the number will take a couple of weeks:

The process can speed up by official means, if you have access to the old number (just use the appropriate link, and after going through the steps of the wizard you will get the result much faster). The second way to speed up is to go through a rather dreary wizard, similar to the one you need to go through when restoring access to your page if it is lost:

How can I speed up the unlinking of a number by 14 times (no guarantees)

However, there is also an unofficial way to speed up the unlinking of a number from your Vkontakte page (up to one day), but, firstly, it may no longer work (it definitely worked six months ago), and secondly, it is associated with certain risks (for example, your page may not just be “frozen”, and banned for a long period of time).

Therefore, everything that you will do is only at your own peril and risk (I wash my hands, as they say).

The essence of the method is to use the Contact bug (logical inconsistency), which allows you to change the number associated with it when the page is frozen and immediately unfreeze it. In this case, the old number will get rid of from the page not a couple of weeks, but just one day. An absurdity that has not yet been fixed (corrected). Although it is possible that at the time of your reading this post, this cartoon will not work.

To start, we will need make our VK page “freeze”. It's easy to do. There is a likes exchange, the mention of which on the VKontakte website is taboo and entails the immediate freezing of the page where this link appeared (thus, they are trying to combat the spread of spam and spammy methods of promoting pages on their social network). Just leave this link on your wall:

Literally a minute after clicking on the "Submit" button, you can refresh it in the browser, after which you will see a message about a temporary freeze:

But we needed all this circus only in order to use the button at the very bottom of this window "Specify another number". Actually, it is entered in the adjacent field after clicking on this button, and after you click on the “get the code” button below, you will see a message stating that another phone number is already linked to this page and the question of whether you really you want to destroy this whole idyll by untying your mobile phone:

Next, enter the confirmation code that came to the new number. After that, you will also be asked to come up with a new password for your account. All. Now all you have to do is press the button "Unfreeze the Stranger":

On the next page, you will be asked to take a short sanity test. But this is not the main thing, but what will be written at the very top:

Those. with such a feint with ears (freezing - defrosting the page) we have achieved speeding up the unbinding of the old and binding the new number by fourteen times, which is very important and can be very useful to someone. But I repeat - the method is not one hundred percent working, so everything you do remains on your conscience, and bribes are smooth from me ...

Good luck to you! See you soon on the blog pages site

You may be interested

How to put money on the phone from the balance of another phone OGRNIP: decoding, appointment and how to find out OGRNIP by TIN Yandex Account - registration and how to use the service OGRN - decoding what it is, how to find out and why you need it
How to restore a page in VKontakte (in case of loss of access, deletion or blocking) Google Contacts: a handy and practical tool How to transfer data and contacts from Android to Android How to top up your phone balance from a card: 4 ways + auto payment
How to install Viber (viber) on a computer? How to transfer money from MTS to MTS, as well as Beeline, Megafon and Tele2

to a specific location on the page. It would seem an elementary thing, but not everyone knows how to implement it. Sometimes it becomes necessary to add such links to your articles so that a site visitor can go with one click of the mouse not only to another page of the site, but also to the right place on this page. To understand how it works, go to .

You will be taken to another page and to a place that describes how to install and configure the WP Social Buttons plugin. Sometimes this is very useful, which allows you to avoid unnecessary explanations in the article. A person follows the link and can immediately read the necessary information.

How to link to a specific location on this page

You may have noticed that on many sites, almost at the very beginning of the article, they add links to the right place in the article. This is convenient for visitors, since when they click on such a link, they can go to the information they need and read what interests them.

If you click on , you will go to the very beginning of the page.

How to link to a specific location on another page

Here the principle is the same, only the transition is carried out to another page. To do this, create an “anchor” on another page of the site, in the desired section of the text, like b in the example above, and then create a link with an anchor to this page:

Text- a link to another page, where instead of anchor, you can write any characters, but the same as the anchor on another page.

How to make a link in the form of an image to another page in a specific place

Here the principle is the same as in the examples above, but if you have a site on Worpress, then you need to go to the image editor, then select "Custom URL" and add an anchor link to another page.

Instruction

There are several ways to add a link to a website. If using the engine, go to the material menu as an administrator. Next, select the desired page or create a new one. Write the text, when clicked, the transition will be performed. Select it and select the Add Link icon from the toolbar. You will be presented with a form to fill out. Specify all the necessary parameters provided by cms, set the address and click "OK". Save the changes and refresh the page in the browser window - a link should appear. Check if it works and make changes if necessary.

If you need to create a link that will be displayed on all pages of the site, then go to the templates section. Select the "Edit html" command, a page with the code will open in front of you. Before you change anything here, play it safe - copy the information to a safe place so that in case of accidental deletion of data, you can return the original material.

Find the required block and enter a link in it in the Text format from which the transition will be made. If necessary, replace the text graphic file, apply the following link: . Save the changes and see the result.

To create a transition to a specific part of a web page, first place anchors in right places site, give them a name. It is better to set serial numbers - spend less time writing links. If you use cms, select a part of the text, click "Add Link" and fill in the "Anchor" field. In html document format it will look like text/image

On simple web pages, the transition to another page is also written in the code using tags. and.

You will need

  • Computer with internet connection;
  • Installed browser and chat.

Instruction

Also very effective way promotion of your site is the placement of links to it in various thematic directories. Internet directories are specialized portals, which are classified according to individual topics and contain short description presented pages. Catalogs can be both paid and free. Some directories do not require a fee for placing a link to your site, but may ask you to put a backlink on your page. Whether it is worth agreeing to such conditions or not depends entirely on the intentions of the page owner.

An excellent way to promote the site is to exchange links with the owners of similar resources. In this case, you select a number of related sites, negotiate with their administration and place links to friendly sites on your pages. They do the same in response, linking to your page.

To organize on your site the automatic redirection of all visitors to one specific page of your own or someone else's Internet resource, you can use several different methods. For example, you can insert appropriate HTML, JavaScript, or PHP commands into each page. But this will require alteration of all pages of the site. There is an easier option - to place the appropriate directive in the htaccess file in the root directory of the site.

Instruction

Web Apache, having found such a file in the folder requested by the visitor's browser, is obliged to execute the directives written into it, and then continue processing the visitor's request. Your redirection task will be to create such a file, put the necessary directives in it and on the server of your . The first step in this plan is simple - open any text editor (such as Notepad) and create a new document.

The second step is to select a directive that best suits your task. If you want to redirect absolutely all web surfers requesting absolutely any page of your site to a certain one, then you should put the following command in htaccess: Redirect / redirect. A slash without specifying a folder name on the server means that the redirect applies to documents in all folders, starting from the root. And the path to a folder on your server, then only visitors requesting documents from the specified folder will be sent to the specified address. Such a directive could be written, for example, as follows: Redirect special/forU/ folder special. You can send only web surfers that request documents of a certain type to the specified page. Such a directive might look like this: RedirectMatch (.*).html$ This means that visitors to pages with an html extension will be sent by the server to the specified address, and those who come to pages with an htm extension will view them in the usual way.

After choosing the appropriate redirect option and specifying the addresses, save the .htaccess file. Please note that the file does not have a name, but only an extension. It remains to implement the third part of the plan - upload htaccess to the server of your site. You can do this using your hosting provider's file manager or content management system. Or you can use any FTP client.

Related videos

Sources:

  • how to make a transition on the site

Each person using the Internet has a certain list of sites that are of particular interest to him. There are a number of ways you can use to visit your resources.

Instruction

Most in a simple way is to use a web browser. Launch the application, then enter the address of the Internet resource you are interested in in the address bar, or use search engines– yandex.ru or google.com. Enter the part of the site name that you remember, then locate the site you need in the search results and click on the link leading to it.

If for some reason your IP address is on the blacklist of the web resource you are interested in and you cannot access it, you can use a program like HideIP. Launch the application, then activate the function of hiding the IP address. Then follow the steps in the first step.

You may also encounter such an inconvenience as a provider or proxy server ban on access to the website you are interested in. In this case, the anonymizer service will help you. Using this service, you can not only go to the site you need, but also hide the fact of visiting it - when visiting sites, all addresses are encrypted, and only the visit to the anonymizer site remains in the logs. Consider this method using the example of timp.ru. Go to the site address, then enter the address of the site you need in the appropriate field and click on the "Go" button.

If you do not have a computer and the Internet at hand, but have mobile phone, then you can use the browser built into it. Run it, then enter the site you are interested in in the address bar. If for some reason he